lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: commit=false in Solr update URL
Date Sat, 29 Mar 2014 15:38:13 GMT
This might be useful:

http://searchhub.org/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

Best,
Erick

On Fri, Mar 28, 2014 at 3:55 PM, Joshi, Shital <Shital.Joshi@gs.com> wrote:
> 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