There is no optimize() method in 4.0. I looked at the 3.6 docs and it did mention the following below. Does the following below mean that we no longer need this method and should not be used anymore. Is there any supplement method that we need to use as it is deprecated as of version 3.6.0
/* Deprecated. This method has been deprecated, as it is horribly inefficient and very rarely justified. Lucene's multi-segment search performance has improved over time, and the default TieredMergePolicy now targets segments with deletions. */ Thanks, Sai. -- View this message in context: http://lucene.472066.n3.nabble.com/IndexWriter-optimize-is-removed-in-4-0-tp4035769.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org