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

Robert Muir commented on LUCENE-7895:
-------------------------------------

Should we really add hooks for such inefficient queries?

I don't think we should take wildcards and expand them into potentially massive 
spanqueries. I know there is code that does this today, but this is hugely 
trappy, I think it should be deprecated and removed.

> Add hooks to QueryBuilder to allow for the construction of MultiTermQueries 
> in phrases
> --------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7895
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: LUCENE-7895.patch
>
>
> QueryBuilder currently allows subclasses to override simple term query 
> construction, which lets you support wildcard querying.  However, there is 
> currently no easy way to override phrase query construction to support 
> wildcards.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to