You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/05/10 23:55:30 UTC
[jira] [Created] (LUCENE-5662) Missing Field null checks can result
in aborted segments
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org