On 10/17/07, Melanie Langlois <[EMAIL PROTECTED]> wrote: > From a different post I've read on this mailing list, I thought by letting > this default the optimization will be done automatically every 10 documents > added to the index (and then every 10 segments, they should be merges..). But > for some reason it doesn't seem to happen this way.
A flush (new segment created from the in-memory docs) will be done every 10 documents by default, not an optimize. This default will change slightly in the next version of lucene to flush by amount of memory used rather than number of documents buffered. If you want an optimized index, call optimize() on the IndexWriter. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]