lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Rowe <sar...@gmail.com>
Subject Re: IndexWriter.optimize() is removed in 4.0?
Date Wed, 23 Jan 2013 21:58:14 GMT
Hi Sai,

Check out Simon Willnauer's blog post about this: <http://www.searchworkings.org/blog/-/blogs/simon-says%3A-optimize-is-bad-for-you>

Steve

On Jan 23, 2013, at 4:49 PM, saisantoshi <saisantoshi76@gmail.com> wrote:

> 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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message