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

David Smiley commented on LUCENE-7624:
--------------------------------------

bq. Should we take advantage of this move to require that all terms are in the 
same field? Using this query across multiple fields disables an optimization, 
and I don't think it is very useful etither?

+1 I agree

> Consider moving TermsQuery to core
> ----------------------------------
>
>                 Key: LUCENE-7624
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7624
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>             Fix For: master (7.0), 6.4
>
>         Attachments: LUCENE-7624.patch
>
>
> TermsQuery current sits in the queries module, but it's used in both 
> spatial-extras and in facets, and currently is the only reason that the 
> facets module has a dependency on queries.  I think it's a generally useful 
> query, and would fit in perfectly well in core.
> This would also allow us to explore rewriting BooleanQuery to TermsQuery to 
> avoid the max-clauses limit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to