<commit waitSearcher="" softCommit="" expungeDeletes="" />
waitSearcher
: (default: true) — if true, wait until a new searcher is opened and registered as the main query searcher, making the changes visible.softCommit
: (default: false) — if true, perform a soft commit.expungeDeletes
: (default: false) — if true, expunge deletes in the segments that the commit merged.<commit waitSearcher="false" softCommit="true" expungeDeletes="true" />
$ curl http://localhost:8983/solr/COLLECTION-NAME/update \ -H "Content-Type: text/xml" \ --data-binary '<commit waitSearcher="false" softCommit="true" expungeDeletes="true" />'
http://localhost:8983/solr/COLLECTION-NAME/update?commit=true
http://localhost:8983/solr/COLLECTION-NAME/update?commit=true&waitSearcher=false&softCommit=true&expungeDeletes=true
http://localhost:8983/solr/COLLECTION-NAME/update?stream.body=<commit/>