My situation is that There are 10,000,000 documents, and I Build index every 5,000 documents. while *in every build*, I follow these steps: IndexWriterConfig iwc = new IndexWriterConfig(Version.LUCENE_40, analyzer); iwc.setOpenMode(IndexWriterConfig.OpenMode.CREATE_OR_APPEND); iwc.setRAMBufferSizeMB(ram); int maxDocs = itmParamParser.maxBufferedDocs; iwc.setMaxBufferedDocs(100000); logger.info("build | RAMBufferSizeMB="+ram+" MB, MaxBufferedDocs="+maxDocs); writer = new IndexWriter(directory, iwc);and I found it build slower and slower, so that I couldn't stand the speed !Any suggestion, thank guys.
----- -------------------------- Email: wuqiu.m...@qq.com -------------------------- -- View this message in context: http://lucene.472066.n3.nabble.com/why-did-I-build-index-slower-and-slower-tp4062798.html Sent from the Lucene - Java Users mailing list archive at Nabble.com.