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

TermInSetQuery should require that all terms come from the same field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • None
    • None
    • 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

        1. LUCENE-7637.patch
          23 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: