Michael McCandless created LUCENE-5967:
------------------------------------------

             Summary: Allow WildcardQuery and RegexpQuery to also use 
auto-prefix terms
                 Key: LUCENE-5967
                 URL: https://issues.apache.org/jira/browse/LUCENE-5967
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael McCandless


In LUCENE-5879, we added auto-prefix terms, where the terms dict finds good 
prefix terms to index, so that at search time PrefixQuery and TermRangeQuery 
can visit far fewer terms than the full set.

WildcardQuery and RegexpQuery will only make use of auto-prefix terms if it's 
"effectively" a PrefixQuery (e.g. WildcardQuery("foo*")), but we could fix them 
so they could also use auto-prefix terms for other cases (e.g. foo?b*) though 
in practice it's less likely to have an impact I think.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to