Visit the Solr wiki page for more information:
https://cwiki.apache.org/confluence/display/solr/UpdateXmlMessages
Here's the structure of the commit operation:
Optional attributes for the "commit" element:
-
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.