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 2015/10/04 20:29:26 UTC
[jira] [Created] (LUCENE-6824) TermAutomatonQuery should rewrite to
a simpler query when possible
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org