I saw the following in the IndexWriter Java doc page

NOTE: if you hit an OutOfMemoryError then IndexWriter will quietly record
this fact and block all future segment commits. This is a defensive measure
in case any internal state (buffered documents and deletions) were
corrupted. Any subsequent calls to commit() will throw an
IllegalStateException. The only course of action is to call close(), which
internally will call rollback(), to undo any changes to the index since the
last commit. You can also just call rollback() directly.

So am I left with only option of restarting the server ?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Full-import-through-DIH-leaving-documents-as-uncommited-tp4035084p4035097.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to