[ https://issues.apache.org/jira/browse/LUCENE-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565539#comment-13565539 ]
Adrien Grand commented on LUCENE-4732: -------------------------------------- bq. assertTermsSeeking both shuffles its terms and reuses its termsenums. The problem is that in the "for (BytesRef b : shuffledTests)" loop, it always calls "leftEnum = leftTerms.iterator(leftEnum);" before seeking, so the seek always goes forwards, never backward. > Test TermsEnum.seek on term vectors > ----------------------------------- > > Key: LUCENE-4732 > URL: https://issues.apache.org/jira/browse/LUCENE-4732 > Project: Lucene - Core > Issue Type: Test > Affects Versions: 4.1 > Reporter: Adrien Grand > Assignee: Adrien Grand > Fix For: 4.2, 5.0 > > Attachments: LUCENE-4732.patch > > > We don't have test cases for this method and it looks broken with both > Lucene40TermVectorsFormat and CompressiongTermVectorsFormat. -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org