De Simone, Alessandro [alessandro.desim...@bvdinfo.com] wrote: > We have stopped optimizing the index because everybody told us it was a bad > idea. > It makes sense if you think about it. When you reopen the index not all > segments must be reopened then you have: > (1) better reload time > (2) keep the OS file cache at maximum
(3) Makes it a lot faster to update the index. I find this to be the main selling point myself. > I have never read any warning saying that doing so will have a big impact on > performance. And we're back to the puzzle why you get so many more I/O operations with your 16 segments. Do you have some typical response times from the optimized index and the segmented one, after some hundred or thousand queries has been processed and the OS cache is properly warmed? Can you give us a representative query? - Toke Eskildsen --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org