lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshi, Shital" <Shital.Jo...@gs.com>
Subject RE: commit=false in Solr update URL
Date Fri, 28 Mar 2014 19:55:32 GMT
Thank you!

-----Original Message-----
From: Shawn Heisey [mailto:solr@elyograg.org] 
Sent: Friday, March 28, 2014 3:14 PM
To: solr-user@lucene.apache.org
Subject: Re: commit=false in Solr update URL

On 3/28/2014 1:02 PM, Joshi, Shital wrote:
> You mean default for openSearcher is false right? So unless I specify commit=false&openSearcher=true
in my Solr Update URL the current searcher and caches will not get invalidated.

If commit=false, openSearcher does not matter -- it's part of a commit.

When you actually *do* a commit, openSearcher defaults to true.  You 
have to set it to false if you don't want it to open a new searcher.

Thanks,
Shawn


Mime
View raw message