lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <benedetti.ale...@gmail.com>
Subject Re: Too many Soft commits and opening searchers realtime
Date Wed, 08 Jul 2015 11:30:39 GMT
So you are saying that no-one is triggering any commit, and that the auto
soft commit solution is not actually waiting the proper time ?
I suspect something is not like described, because if the Auto Soft commit
was not working I would expect thousands of bugs raised.

let's dig a little bit into details…
What are you using exactly to index content ?
Maybe some commit is actually hidden there :)

Cheers

2015-07-08 2:21 GMT+01:00 Summer Shire <shiresummer@gmail.com>:

> No the client lets solr handle it.
>
>
> > On Jul 7, 2015, at 2:38 PM, Mike Drob <madrob@cloudera.com> wrote:
> >
> > Are the clients that are posting updates requesting commits?
> >
> >> On Tue, Jul 7, 2015 at 4:29 PM, Summer Shire <shiresummer@gmail.com>
> wrote:
> >>
> >> HI All,
> >>
> >> Can someone help me understand the following behavior.
> >> I have the following maxTimes on hard and soft commits
> >>
> >> yet I see a lot of Opening Searchers in the log
> >> org.apache.solr.search.SolrIndexSearcher - Opening Searcher@1656a258
> [main]
> >> realtime
> >> also I see a soft commit happening almost every 30 secs
> >> org.apache.solr.update.UpdateHandler - start
> >>
> commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=true,prepareCommit=false}
> >> <autoCommit>
> >> <maxTime>480000</maxTime>
> >> <openSearcher>false</openSearcher>
> >> </autoCommit>
> >>
> >> <autoSoftCommit>
> >> <maxTime>180000</maxTime>
> >> </autoSoftCommit>
> >> I tried disabling softCommit by setting maxTime to -1.
> >> On startup solrCore recognized it and logged "Soft AutoCommit: disabled"
> >> but I could still see softCommit=true
> >> org.apache.solr.update.UpdateHandler - start
> >>
> commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=true,prepareCommit=false}
> >> <autoSoftCommit>
> >> <maxTime>-1</maxTime>
> >> </autoSoftCommit>
> >>
> >> Thanks,
> >> Summer
>



-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message