You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (Jira)" <ji...@apache.org> on 2023/08/28 12:32:00 UTC

[jira] [Created] (OAK-10420) Tool to compare Lucene index content

Thomas Mueller created OAK-10420:
------------------------------------

             Summary: Tool to compare Lucene index content
                 Key: OAK-10420
                 URL: https://issues.apache.org/jira/browse/OAK-10420
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


I want to verify that an Oak Lucene index matches another index. Comparing the number of documents in each index is possible, but this comparison is not sufficient. 

The main problem is that aggregation order depends on the order that child nodes are traversed, and this order is not guaranteed to be always the same (e.g. segment node store returns children in a different order than the document node store). This will make checksums of files different. Checksum of files can't always be compared due to this.

I would like to create a tool that makes comparison of index content easy. This tool needs to account for small differences caused by the above problem.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)