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

MatchesIterator.term() should return an array

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • New

    Description

      At the moment, we return a single BytesRef from MatchesIterator.term(), which works well for the queries that currently implement this. This won't be enough for queries that operate on more than one term, however, such as phrase or Span queries.

      In preparation for LUCENE-8249, this issue will change the method to return an array of BytesRef

      Attachments

        1. LUCENE-8268.patch
          16 kB
          Alan Woodward
        2. LUCENE-8268.patch
          7 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: