The best way is to look at your Solr logs. When you see the commit message, you'll see things like "start commit{,optimize=false,openSearcher=false,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}"
that ought to work, as should something like: curl blah blah/update?softCommit=true&commit=true Best, Erick On Thu, Oct 20, 2016 at 12:23 PM, Michal Danilák <mimino.co...@gmail.com> wrote: > Does the following command issue soft commit or hard commit? > > curl http://localhost:8984/solr/update?softCommit=true -H "Content-Type: > text/xml" --data-binary '<commit />' > > How to find out which commit was triggered? Can I get it somewhere in logs? > > Thanks.