RE: mutability of lucene index files

2015-09-12 Thread Uwe Schindler
ache.org > Subject: Re: mutability of lucene index files > > Hi Erick, > > Thank you. > > Deleting old files is fine (and expected), so it sounds like the segment files > are immutable (prior to deletion) and the file that handles deletion is > renamed with every change, so

Re: mutability of lucene index files

2015-09-12 Thread Larry White
Hi Erick, Thank you. Deleting old files is fine (and expected), so it sounds like the segment files are immutable (prior to deletion) and the file that handles deletion is renamed with every change, so it's effectively immutable, too. That leaves the segments_* files and segments.gen, if I under

Re: mutability of lucene index files

2015-09-12 Thread Erick Erickson
The Lucene index segment files are immutable, once they're closed, they are never changed. These are things like _1.fdt, _1.tim, etc. All of the files with the same prefix (_1 in my example) comprise a single "segment". Segments _will_, however, disappear. During indexing, two or more segment are c