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


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