[ 
https://issues.apache.org/jira/browse/LUCENE-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643844#comment-15643844
 ] 

ASF subversion and git services commented on LUCENE-6824:
---------------------------------------------------------

Commit cc99815dcbaa796d717601d600645e658eb9f882 in lucene-solr's branch 
refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cc99815 ]

LUCENE-6824: TermAutomatonQuery now rewrites to TermQuery, PhraseQuery or 
MultiPhraseQuery when the word automaton is simple


> 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: master (7.0), 6.3
>
>         Attachments: LUCENE-6824.patch, LUCENE-6824.patch
>
>
> 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]

Reply via email to