This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-01473f50-a9e4-4c3f-8ea2-3cc1b83b4c01 XWIKI-22633 Open

Documents with translations are re-indexed on start of XWiki with Oracle database

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a34ef51d-762d-4c08-9d4d-b841389c1301 Michael Hamann created this issue on 05/Nov/24 15:07
 
Summary: Documents with translations are re-indexed on start of XWiki with Oracle database
Issue Type: cid:jira-generated-image-avatar-01473f50-a9e4-4c3f-8ea2-3cc1b83b4c01 Bug
Affects Versions: 14.10
Assignee: Unassigned
Components: Search - Solr
Created: 05/Nov/24 15:07
Priority: cid:jira-generated-image-static-major-fc90d617-75f6-4fed-a55e-afbc6514048a Major
Reporter: Michael Hamann
Description:

Steps to reproduce:

Restart XWiki with Solr as database.

Expected result:

During startup, no pages are re-indexed and thus a log line like INFO o.x.s.s.i.j.IndexerJob - 0 documents added, 0 deleted and 0 updated during the synchronization of the Solr index. is logged shortly after startup.

Actual result:

Some documents are re-indexed, the numbers before added and deleted aren't 0.

This can also be reproduced with the automated test that has been introduced as part of XWIKI-22605. The reason for this is that an empty language is stored as null in the Oracle database and nulls are sorted last while the empty language is sorted first in Solr and other databases.

 
 

2 updates

 
cid:jira-generated-image-avatar-a34ef51d-762d-4c08-9d4d-b841389c1301 Changes by Michael Hamann on 05/Nov/24 15:07
 
Description: *Steps to reproduce:*

Restart XWiki with
Solr Oracle as database.

*Expected result:*

During startup, no pages are re-indexed and thus a log line like {{INFO o.x.s.s.i.j.IndexerJob - 0 documents added, 0 deleted and 0 updated during the synchronization of the Solr index.}} is logged shortly after startup.

*Actual result:*

Some documents are re-indexed, the numbers before added and deleted aren't 0.

This can also be reproduced with the automated test that has been introduced as part of XWIKI-22605. The reason for this is that an empty language is stored as null in the Oracle database and nulls are sorted last while the empty language is sorted first in Solr and other databases.
Assignee: Michael Hamann