lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Puppy Linux Distros <vivek...@gmail.com>
Subject check softCommit , autocommit and hard commit count
Date Thu, 30 Nov 2017 11:36:38 GMT
Hi,

I am trying to calculate the total number of softCommit , autocommit and
hard commit from the solr logs. Can you please check whether the below
commands are correct ?

Let me know how to find the total softcommit, hardcommit and autocommit
from the logs.


*1. totalcommit=`cat $solrlogfile | grep "start commit" | wc -l`*

*totalcommit =  **41906*


*2. totalsoftcommit=`cat $solrlogfile | grep "start commit" | grep
"softCommit=true" | wc -l`*

*totalsoftcommit =  **921*


*3. totalhardcommits=`cat $solrlogfile | grep "start commit" | grep
"softCommit=false" | grep "openSearcher=true" | wc -l`*

*totalhardcommits=  **40982*

*4.  totalautocommit=`cat $solrlogfile | grep "realtime" | wc -l`*

*totalautocommit= 3*



*When I did a softcommit I can see an autocommit triggered after 15 min.
There are 921 softcommit in the logs so there should be equal autocommits
in the log. I can see only 3 auto commit in the logs. Is it cuz a hard
commit triggered immediately after the softcommit ?*

-- 
Regards,

Vivek CV

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