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

Missing Field null checks can result in aborted segments

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.1, 4.9, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is bad because you lose other unrelated documents in IndexWriter's buffer.

      Simple example:

            BytesRef v = null; // somehow my app screwed up
            doc.add(new StoredField("foo", v));
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: