: following files (I'm not listing all extensions) are deleted immediately : upon IndexWriter.close() being called: : : *.fdt, *.tip, *.tii, .*pos : : Only the following 5 files are left in all cases : _0.cfe : _0.cfs
...you're got the CompoundFileFormat configured, so each time a segment is finished being written is immediately combined into those cfe/cfs files https://lucene.apache.org/core/4_10_0/core/org/apache/lucene/codecs/lucene410/package-summary.html#file-names https://lucene.apache.org/core/4_10_0/core/org/apache/lucene/index/LiveIndexWriterConfig.html#setUseCompoundFile%28boolean%29 https://lucene.apache.org/core/4_10_0/core/org/apache/lucene/index/MergePolicy.html#setMaxCFSSegmentSizeMB%28double%29 https://lucene.apache.org/core/4_10_0/core/org/apache/lucene/index/MergePolicy.html#setNoCFSRatio%28double%29 -Hoss http://www.lucidworks.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org