Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13303

WrappedLongValuesSource should always return `true` for advanceExact

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 8.0
    • None
    • None
    • None

    Description

      Following https://issues.apache.org/jira/browse/SOLR-13126?focusedCommentId=16786635&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16786635

      WrappedLongValuesSource exposes an iterator and expects to jump over missing documents, while VS has an exists() method but still returns a value even if exists() is false.  The wrapper code to convert VS to WrappedLongValuesSource checks whether or not the value exists, but instead it should always return `true`.

      This change is similar to the one made to WrappedLongValuesSource in  https://issues.apache.org/jira/browse/SOLR-13126

       

       

      Attachments

        1. SOLR-13303.patch
          0.8 kB
          Andrzej Wislowski

        Issue Links

          Activity

            People

              Unassigned Unassigned
              awislowski Andrzej Wislowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: