For example in the following statement
doc.add(new Field("contents", parser.getReader(), Field.TermVector.YES));
The reader is causing the IOException when internally invertDocument()
method is called where tokenstream is generated from the reader. I am not
worried if the document info is corrupt
On Oct 12, 2006, at 10:17 AM, Apache Lucene wrote:
When I am adding a document to the lucene index if the method
throws an
IOException and if I continue with adding other documents ignoring the
exception, will the index be corrupted? What happens to the fields
which are
already written to t
When I am adding a document to the lucene index if the method throws an
IOException and if I continue with adding other documents ignoring the
exception, will the index be corrupted? What happens to the fields which are
already written to the index?