lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamir Shaikh <shaikhja...@gmail.com>
Subject Getting RuntimeException: after flush: fdx size mismatch while Indexing
Date Fri, 09 Dec 2011 02:46:20 GMT
I am using Lucene 3.5. I want to create around 30 million documents.
While doing Indexing I am getting the following Exception:

Caused by: java.lang.RuntimeException: after flush: fdx size mismatch: 7442
docs vs 32768 length in bytes of _ct.fdx file exists?=true

                at
org.apache.lucene.index.StoredFieldsWriter.flush(StoredFieldsWriter.java:58)

                at
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:59)

                at
org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:581)

                at
org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3623)

                at
org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3588)

                at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2073)

                at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2040)

                at
com.cisco.ason.document.AbstractLuceneDocWriter.write(AbstractLuceneDocWriter.java:88)

                ... 10 more


I don't get this Exception consistently.

I am not setting the maxBufferedDocs the default value is -1.

So the flush is as per ramBufferSizeMB which is set to default 16.0 MB.


Did anyone face this problem.

I would appreciate any suggestions.


-- 
Thanks for your time,
Jamir...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message