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

DocumentDictionary entry iterator skips items with optional null payload field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.3
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available
    • Flags:
      Patch

      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 Michael McCandless 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: