You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by William Pierce <ev...@hotmail.com> on 2009/10/23 19:05:52 UTC

Is optimized?

Folks:

If I issue two <optimize /> requests with no intervening changes to the index,  will the second optimize request be smart enough to not do anything?

Thanks,

Bill

Re: Is optimized?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Yes.  I believe the "is the index already optimized" is in the guts of Lucene.

Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR



----- Original Message ----
> From: William Pierce <ev...@hotmail.com>
> To: solr-user@lucene.apache.org
> Sent: Fri, October 23, 2009 1:05:52 PM
> Subject: Is <optimize /> optimized?
> 
> Folks:
> 
> If I issue two requests with no intervening changes to the index,  
> will the second optimize request be smart enough to not do anything?
> 
> Thanks,
> 
> Bill


Re: Is optimized?

Posted by Chris Hostetter <ho...@fucit.org>.
: If I issue two <optimize /> requests with no intervening changes to the 
: index, will the second optimize request be smart enough to not do 
: anything?

the actual optimize is optimized, but postCommit and postOptimize event 
listeners will still be fired.


-Hoss