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

DocumentDictionary entry iterator skips items with optional null payload field

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10.3
    • 5.2, 6.0
    • None
    • None
    • New, Patch Available

    Description

      As denoted in the ticket SOLR-7086 the DocumentDictionary entry iterator shouldn't skip entries from the dictionary having null value for the payload field due to the fact that this field is optional.
      This behaviour causes inconsistencies in the Solr suggester which simply skips valid documents due to the fact that they don't have values for the payload field.
      As agreed with mikemccand I am attaching a patch to this Lucene issue.

      Attachments

        1. LUCENE-6486.patch
          21 kB
          Marius Grama
        2. LUCENE-6486.patch
          20 kB
          Michael McCandless
        3. LUCENE-6486.patch
          22 kB
          Marius Grama
        4. LUCENE-6486.patch
          23 kB
          Marius Grama

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mariusneo Marius Grama
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: