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:53:00 UTC

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

    [ https://issues.apache.org/jira/browse/OAK-10420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759579#comment-17759579 ] 

Thomas Mueller commented on OAK-10420:
--------------------------------------

PR https://github.com/apache/jackrabbit-oak/pull/1086

> 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
>            Priority: Major
>
> 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)