Michael McCandless created LUCENE-6824:
------------------------------------------
Summary: TermAutomatonQuery should rewrite to a simpler query when
possible
Key: LUCENE-6824
URL: https://issues.apache.org/jira/browse/LUCENE-6824
Project: Lucene - Core
Issue Type: Improvement
Reporter: Michael McCandless
Assignee: Michael McCandless
Fix For: Trunk, 5.4
Spinoff from LUCENE-6664.
I think {{TermAutomatonQuery}} would be easier to integrate into query parsers
if you could simply use it always and it would rewrite to simpler / faster
queries when possible.
This way, when a query parser is confronted with a phrase query requested by
the user, it can just make a {{TermAutomatonQuery}} and run that.
But the non-explicit phrase query case is still tricky...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]