nutch-dev  

[jira] Commented: (NUTCH-641) IndexSorter incorrectly copies stored fields

Hudson (JIRA)
Mon, 18 Aug 2008 21:16:37 -0700

    [ 
https://issues.apache.org/jira/browse/NUTCH-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623554#action_12623554
 ] 

Hudson commented on NUTCH-641:
------------------------------

Integrated in Nutch-trunk #545 (See 
[http://hudson.zones.apache.org/hudson/job/Nutch-trunk/545/])

> 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.