Use Solr soft commits
When using Solr as the search provider, you can configure it to handle indexed data using soft commits. Visit the Solr documentation for an explanation about the advantages of soft commits.
To use soft commits in content search:
-
Optionally, in Solr, use
autoCommitto configure automatic commits settings such asmaxDocs,maxSize. If you don't configure Solr, default values are used.ImportantDon't use
autoSoftCommit, or it might cause issues when updating an index-dependent cache. -
Create a patch file to modify the Sitecore
Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.configfile, and enable soft commits by setting theContentSearch.Solr.UseSoftCommitsvalue totrue.