You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2017/01/16 19:04:26 UTC

[jira] [Commented] (LUCENE-7637) TermInSetQuery should require that all terms come from the same field

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

Michael McCandless commented on LUCENE-7637:
--------------------------------------------

+1

I just found a small typo: {{// ne need to check}} --> {{// no need to check}}.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org