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

Adrien Grand commented on LUCENE-7624:
--------------------------------------

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?

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to