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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.7.2, 8.4
    • 8.6
    • None
    • None
    • New, Patch Available
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: