lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Bazhenov <dot...@gmail.com>
Subject Re: IndexWriter.optimize() is removed in 4.0?
Date Thu, 24 Jan 2013 00:42:24 GMT
All the given reasons applies to some systems but not to all of them. But distributed systems
(with index being built on dedicated machine) with index warm up on index reopen can successfully
mitigate both IO and cold-cache overhead.

On Jan 24, 2013, at 8:58 AM, Steve Rowe <sarowe@gmail.com> wrote:

> 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
> 

---
Denis Bazhenov <dotsid@gmail.com>






---------------------------------------------------------------------
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