RE: autocommit commented out -- what is the default?

2010-12-04 Thread Jonathan Rochkind
It means they never happen automatically, added documents wont' be committed 
until you send a commit to solr. 

Jonathan

From: Brian Whitman [br...@echonest.com]
Sent: Saturday, December 04, 2010 10:36 AM
To: solr-user@lucene.apache.org
Subject: autocommit commented out -- what is the default?

Hi, if you comment out the block in solrconfig.xml



Does this mean that (a) commits never happen automatically or (b) some
default autocommit is applied?


Re: autocommit commented out -- what is the default?

2010-12-04 Thread Yonik Seeley
On Sat, Dec 4, 2010 at 10:36 AM, Brian Whitman  wrote:
> Hi, if you comment out the block in solrconfig.xml
>
> 
>
> Does this mean that (a) commits never happen automatically or (b) some
> default autocommit is applied?

Commented out means they never happen automatically (i.e., no default).
In general commitWithin is a better strategy to use... bulk updates
can use a large value (or no value w/ explicit commit at end) for
better indexing performance, while other updates can use a smaller
value depending on how soon the update needs to be visible.

-Yonik
http://www.lucidimagination.com