Use Solr soft commits

Version: 10.4

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:

  1. Optionally, in Solr, use autoCommit to configure automatic commits settings such as maxDocs, maxSize. If you don't configure Solr, default values are used.

    Important

    Don't use autoSoftCommit, or it might cause issues when updating an index-dependent cache.

  2. Create a patch file to modify the Sitecore Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config file, and enable soft commits by setting the ContentSearch.Solr.UseSoftCommits value to true.

Do you have some feedback for us?

If you have suggestions for improving this article,