Synchronize search indexes

When you are running your website in a load balanced setup you must ensure that all of your web server nodes use the same search index files. This guarantees that when you work with content any of the nodes, the changes are reflected in the search index, and searching for that content returns the same results on any of the nodes.

You can keep your search indexes in sync using one of the following approaches:

  • Use Azure Search or Elasticsearch services in your Sitefinity CMS project where the search indexes are stored in the cloud. This is the best approach when running in load balanced setup, since you are not dealing with any physical files on the web server nodes filesystem, but are storing the index files in the cloud instead. For more information, see Generate and store search indexes in the cloud.
  • Change the search index files storage to a shared network folder. This option is useful in cases where you prefer to use the default (Lucene) search service, and you have less intensive content editing. For more information see Change the location of the Lucene search index files.
  • Manually sync the changes in the files under the ~/App_Data/Sitefinity/Search folder between all of the nodes.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Tags

Was this article helpful?