You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/09/19 21:05:35 UTC
[jira] [Created] (LUCENE-5967) Allow WildcardQuery and RegexpQuery
to also use auto-prefix terms
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org