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

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

Commit 5c2f5bd028d370f43fbeee07fc6d197449609af3 in lucene-solr's branch 
refs/heads/branch_6x from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5c2f5bd ]

LUCENE-7637: Require that all terms of a TermsQuery come from the same field.


> TermInSetQuery should require that all terms come from the same field
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-7637
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7637
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-7637.patch
>
>
> Spin-off from LUCENE-7624. Requiring that all terms are in the same field 
> would make things simpler and more consistent with other queries. It might 
> also make it easier to improve this query in the future since other similar 
> queries like AutomatonQuery also work on the per-field basis. The only 
> downside is that querying terms across multiple fields would be less 
> efficient, but this does not seem to be a common use-case.



--
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