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

Mark Harwood resolved LUCENE-1240.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.2
    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])

Committed this fix and added new Junit test as part of  r638631

> TermsFilter: reuse TermDocs
> ---------------------------
>
>                 Key: LUCENE-1240
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1240
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.3.1
>            Reporter: Trejkaz
>             Fix For: 2.3.2
>
>         Attachments: terms-filter.patch
>
>
> TermsFilter currently calls termDocs(Term) once per term in the TermsFilter.  
> If we sort the terms it's filtering on, this can be optimised to call 
> termDocs() once and then skip(Term) once per term, which should significantly 
> speed up this filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to