Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7637

TermInSetQuery should require that all terms come from the same field

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: