You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Francois-Xavier Bonnet (JIRA)" <ji...@apache.org> on 2013/01/25 17:57:14 UTC

[jira] [Updated] (SOLR-4360) TermVectorAccessor return terms that do not match with current document

     [ https://issues.apache.org/jira/browse/SOLR-4360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois-Xavier Bonnet updated SOLR-4360:
-----------------------------------------

    Attachment: SOLR-4360.txt

Here is a patch
                
> TermVectorAccessor return terms that do not match with current document
> -----------------------------------------------------------------------
>
>                 Key: SOLR-4360
>                 URL: https://issues.apache.org/jira/browse/SOLR-4360
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.6.2
>            Reporter: Francois-Xavier Bonnet
>         Attachments: SOLR-4360.txt
>
>
> For each term, TermVectorAccessor looks in the indexReader and calls termPositions.skipTo(documentNumber) but this methods returns the first document with id greater or equal to documentNumber.
> As a result you get some extra terms that do not really match with documentNumber.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org