Robert Muir created LUCENE-5662:
-----------------------------------
Summary: Missing Field null checks can result in aborted segments
Key: LUCENE-5662
URL: https://issues.apache.org/jira/browse/LUCENE-5662
Project: Lucene - Core
Issue Type: Bug
Reporter: Robert Muir
Attachments: LUCENE-5662.patch
This is bad because you lose other unrelated documents in IndexWriter's buffer.
Simple example:
{code}
BytesRef v = null; // somehow my app screwed up
doc.add(new StoredField("foo", v));
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]