You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2008/08/19 02:45:47 UTC
[jira] Closed: (NUTCH-641) IndexSorter incorrectly copies stored
fields
[ https://issues.apache.org/jira/browse/NUTCH-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki closed NUTCH-641.
-----------------------------------
Resolution: Fixed
Patch applied.
> IndexSorter incorrectly copies stored fields
> --------------------------------------------
>
> Key: NUTCH-641
> URL: https://issues.apache.org/jira/browse/NUTCH-641
> Project: Nutch
> Issue Type: Bug
> Components: indexer
> Affects Versions: 1.0.0
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Critical
> Fix For: 1.0.0
>
> Attachments: indexSorter.patch
>
>
> Recent versions of Lucene introduced IndexReader.document(int, FieldSelector) method. When using IndexWriter.addIndexes(IndexReader[]) Lucene now uses that method from IndexReader instead of the old one IndexReader.document(int).
> Unfortunately, this new method is not overriden in IndexSorter, which leads to a subtle corruption of sorted indexes - while the indexed fields are sorted properly, the values from stored fields are not sorted and remain in the sorted index in the original order. This means that in a sorted index the values of indexed fields and stored fields are completely out of sync, which later results in incorrect documents being retrieved from segments.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.