You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:35:17 UTC

[jira] [Commented] (LUCENE-4421) TermsFilter should use TermsEnum.seekExact not seekCeil

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

Commit Tag Bot commented on LUCENE-4421:
----------------------------------------

[branch_4x commit] David Wayne Smiley
http://svn.apache.org/viewvc?view=revision&revision=1389708

LUCENE-4421 Use TermsEnum.seekExact instead of seekCeil in TermsFilter.

                
> TermsFilter should use TermsEnum.seekExact not seekCeil
> -------------------------------------------------------
>
>                 Key: LUCENE-4421
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4421
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 4.1
>
>
> TermsFilter line 82 is:
>        if (termsEnum.seekCeil(br) == TermsEnum.SeekStatus.FOUND) {
> I expected use of seekExact(...) since the Filter shouldn't need to
> potentially advance to the one after.

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