Lucene - Core
  1. Lucene - Core
  2. LUCENE-5662

Missing Field null checks can result in aborted segments

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.1, 4.9, Trunk
    • 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));
      

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development