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

DocTermsIndexDocValues should not assume it's operating on a SortedDocValues field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.7.2, 8.4
    • Fix Version/s: 8.6
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available
    • Review Patch?:
      Yes

      Description

      When requesting a new ValueSourceScorer (with getRangeScorer) from DocTermsIndexDocValues , the latter instantiates a new iterator on SortedDocValues regardless of the fact that the underlying field can actually be of a different type (e.g. a SortedSetDocValues processed through a SortedSetSelector).

        Attachments

        1. LUCENE-9258.patch
          7 kB
          Michele Palmia

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              micpalmia Michele Palmia
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: