Re: IndexWriter.flush performance

2008-12-07 Thread mimounl
Jokin Cuadrado wrote: > > Avery time you flush the index, you are writing a small index to the > disk. Theres a defined value (mergefactor) that decides when it have > to merge all of those small index in a bigger one, so as the index > grown the merges are bigger. > Don't you thing I have to

IndexWriter.flush performance

2008-12-07 Thread mimounl
Hello, In my application, I need to flush data each time a modification is made. So each time an entry is added in the lucene index we call IndexWriter.flush this way all data are secured on file system. We noticed that this operation is more and more time consuming while the size of the index r