A l w a y s S u n n y
A l w a y s S u n n y

Reputation: 38502

Understanding the different type of SOLR commits

I want to clarify my understanding about different type of Solr commits. Please correct me if I am wrong.

So, if we set commit=true parameter to any solr api call with some document data, then it does HARD commit to current document also to the pending documents. doc will updated on the disk within (15000ms=15secs)

So, if we set commit=false parameter to any solr api call with some document data, then it does SOFT commit to current document also to the pending documents. doc will updated on the disk within (180000ms=3mins)

Solr Stats url : https://cwiki.apache.org/confluence/display/solr/Performance+Statistics+Reference

enter image description here

Is it possible to give an example for commit, autoCommit and softCommit

Upvotes: 3

Views: 2294

Answers (1)

Related Questions