Re: optimize is taking too much time

2010-02-22 Thread Yonik Seeley
On Mon, Feb 22, 2010 at 6:39 PM, Jay Hill wrote: > It's just that, in a > running system, it's probably very rare that there is only a single segment > for any meaningful length of time. Right - but the performance impact of a huge merge can be non-trivial. People wishing to avoid the biggest of

Re: optimize is taking too much time

2010-02-22 Thread Jay Hill
Thanks for clearing that up guys, I misspoke slightly. It's just that, in a running system, it's probably very rare that there is only a single segment for any meaningful length of time. Unless that merge-down-to-one occurs right when indexing stops there will almost always be a new (small) segment

Re: optimize is taking too much time

2010-02-22 Thread Mark Miller
Also, a mergefactor of 1 is actually invalid - 2 is the lowest you can go. -- - Mark http://www.lucidimagination.com

Re: optimize is taking too much time

2010-02-22 Thread Yonik Seeley
On Sun, Feb 21, 2010 at 2:20 PM, David Smiley @MITRE.org wrote: > I've always thought that these two events were effectively equivalent.  -- > the results of an optimize vs the results of Lucene _naturally_ merging all > segments together into one. Correct. Occasionally one hit's a "major" merge

Re: optimize is taking too much time

2010-02-22 Thread David Smiley @MITRE.org
Your response contradicts the wiki's description of mergeFactor: http://wiki.apache.org/solr/SolrPerformanceFactors#mergeFactor -- which clearly states that the indexes are merged into a single segment. It makes no reference to "optimize" to trigger this condition. If what you say is true, and w

Re: optimize is taking too much time

2010-02-22 Thread Jay Hill
- > > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > > Hadoop ecosystem search :: http://search-hadoop.com/ > > > > > > > > - Original Message > >> From: mklprasad > >> To: solr-user@lucene.apache.org > >> Sent: Fri, February

Re: optimize is taking too much time

2010-02-21 Thread David Smiley @MITRE.org
; From: mklprasad >> To: solr-user@lucene.apache.org >> Sent: Fri, February 19, 2010 1:02:11 AM >> Subject: Re: optimize is taking too much time >> >> >> >> >> Jagdish Vasani-2 wrote: >> > >> > Hi, >> > >> > y

Re: optimize is taking too much time

2010-02-19 Thread Otis Gospodnetic
2:11 AM > Subject: Re: optimize is taking too much time > > > > > Jagdish Vasani-2 wrote: > > > > Hi, > > > > you should not optimize index after each insert of document.insted you > > should optimize it after inserting some good no of documents.

Re: optimize is taking too much time

2010-02-18 Thread mklprasad
Jagdish Vasani-2 wrote: > > Hi, > > you should not optimize index after each insert of document.insted you > should optimize it after inserting some good no of documents. > because in optimize it will merge all segments to one according to > setting > of lucene index. > > thanks, > Jagdish >

Re: optimize is taking too much time

2010-02-18 Thread NarasimhaRaju
, From: Jagdish Vasani To: solr-user@lucene.apache.org Sent: Thu, February 18, 2010 3:12:15 PM Subject: Re: optimize is taking too much time Hi, you should not optimize index after each insert of document.insted you should optimize it after inserting some good no

Re: optimize is taking too much time

2010-02-18 Thread Jagdish Vasani
Hi, you should not optimize index after each insert of document.insted you should optimize it after inserting some good no of documents. because in optimize it will merge all segments to one according to setting of lucene index. thanks, Jagdish On Fri, Feb 12, 2010 at 4:01 PM, mklprasad wrote:

Re: optimize is taking too much time

2010-02-17 Thread mklprasad
hossman wrote: > > > : in my solr u have 1,42,45,223 records having some 50GB . > : Now when iam loading a new record and when its trying optimize the docs > its > : taking 2 much memory and time > > : can any body please tell do we have any property in solr to get rid of > this. > > Solr i

Re: optimize is taking too much time

2010-02-17 Thread Chris Hostetter
: in my solr u have 1,42,45,223 records having some 50GB . : Now when iam loading a new record and when its trying optimize the docs its : taking 2 much memory and time : can any body please tell do we have any property in solr to get rid of this. Solr isn't going to optimize the index unless y