Generate and store search indexes in the cloud
By default, in Sitefinity CMS search indexes are generated and stored locally using Lucene.net search service. If your project resides on a cloud storage, you can use alternative search index generation and storage on external services - in the cloud on Azure Search or an external Elasticsearch server.
Setup Sitefinity CMS to use Azure Search
To use Azure Search for Sitefinity's search indexes:
- Follow the Azure Search documentation and create an instance of Azure Search at http://azure.microsoft.com/en-us/services/search/.
- After you have created the Azure Search service, to configure Sitefinity CMS to use it, you need the Service name and Admin API key.
- In Sitefinity CMS, navigate to Administration » Settings.
If you use the Multisite module, click Global settings.
- Click Search.
- Under Which search service to use in your site?, select Azure Search.
- In Search service name, enter your Azure Search service name.
NOTE: Keep in mind that you need to enter only the name of the search service and not the whole URL. For example, if the URL is https://test.search.windows.net, you need to enter just test as search service name.
- In Admin API key, enter your Azure Search service API key.
- To test Sitefinity's connection with your Azure Search service, click Test connection.
- Click Save changes.
NOTE: To communicate with Azure Search's RESTful API, Sitefinity CMS uses a customized implementation of the open library RedDog.Search.
Setup Sitefinity CMS to use Elasticsearch
PREREQUISITES: You must use Elasticsearch server version 1.2 and higher. Versions from 2.0 and higher are not supported.
To use an Elasticsearch server for Sitefinity's search indexes:
- In Sitefinity CMS, navigate to Administration » Settings.
If you use the Multisite module, click Global settings.
- Click Search.
- Under Which search service to use in your site?, select the Elasticsearch radio.
- In Elasticsearch URL, enter the address and port of your Elasticsearch server.
- Click Save changes.