Its not a should, it is recommended that it aint happening as a syncronous 
process out your app. From what I remember, When I had docs in the order of 
100,000+, my optimize took 70 secs. Commit, took 5-6 I guess. Not sure. it was 
some mistake I did long time back.
 
It really depends on what kinda data u have and what is your requirement.




> Date: Thu, 7 Aug 2008 15:40:59 -0700> From: [EMAIL PROTECTED]> To: 
> solr-user@lucene.apache.org> Subject: Re: How do I configure commit to run 
> after updates> > Thank you so much everyone.> > This community is really one 
> of the most helpful I've ever run across on> the interwebs.> > So I 
> understand that the document is not live in the index until a> commit is 
> run.> > Commits should be run nightly.> > Isn't this a problem though to have 
> to wait 24hrs for a new document or> a *deleted* document to take effect?> > 
> Or am I missing the point?> > Thanks,> Jacob> sundar shankar wrote:> > Yes 
> commits are very expensive and optimizes are even expensive.> > Coming to 
> your question of numdocs and 0's in update handler section> > > > The numdocs 
> that u see on top are the ones that are committed. The ones u see below are 
> the ones u have updated, not committed. > > update handlers> > 
> ==============commits : 0 In the particular server session, how many commits 
> have u doneautocommits : 0 optimizes : 0 In the particular server session, 
> how many commits have u donedocsPending : 0 In the particular server session, 
> how many Documents are pending commit/optimize.> > > > > > For the size of 
> 10, commit of optimize wudnt really make an impact. The general tendency is 
> to commit/optimize from within the app, which is not right. auto committing 
> is the way to go and like fuad said, committing nightly is the right way to 
> do it IMO too.> > > > > > > >> Date: Thu, 7 Aug 2008 15:13:18 -0700> From: 
> [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: Re: How do I 
> configure commit to run after updates> > > Okay... so this all makes sense, 
> and I can sorta make it work, however,> > the commit is never run by itself 
> when the index is updated. I have to> > manually call the commit script from 
> the command line to get it to happen.> > Jacob, 'commit' is expensive (you 
> will loose SOLR caches, and etc.)... > 'commit' and 'optimize' should be 
> called only once per thousands > (hundreds of thousands, etc.) updates... I 
> run it only once a day. You > can run it explicitly after each update if you 
> do not have > millions-a-day updates...> > ===> http://www.tokenizer.org - 
> faceted search> > > > 
> _________________________________________________________________> > 
> Searching for the best deals on travel? Visit MSN Travel.> > 
> http://msn.coxandkings.co.in/cnk/cnk.do> 
_________________________________________________________________
Searching for the best deals on travel? Visit MSN Travel.
http://msn.coxandkings.co.in/cnk/cnk.do

Reply via email to