Which OS/filesystem? Mike McCandless
http://blog.mikemccandless.com On Thu, Dec 8, 2011 at 9:46 PM, Jamir Shaikh <shaikhja...@gmail.com> wrote: > 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... --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org