Configure xDB Cloud indexing

Last updated Friday, October 14, 2016 in xDB Cloud for Developer
Keywords: Azure, Cloud, Configuration

xDB Cloud uses an index for analytics, called Cloud Search, that is separate from the indexes and search provider that you use for content indexing. How you configure your content search depends on whether you use Solr or Lucene.

Typically, you use Solr if you have multiple content delivery servers in use, while Lucene is suitable for single content delivery server environments.

Configure Lucene and Cloud Search

To configure Lucene with the Cloud Search index, you must ensure the following configuration files are enabled. To enable the files remove the .disabled extension from the file name. Lucene configuration files are enabled by default, however it is good practice to check.

  1. In Website/App_Config/Include/XdbCloud, enable the Sitecore.ContentSearch.Cloud.DefaultIndexConfiguration.config file.
  2. In Website/App_Config/Include, enable the Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config file.
  3. In Website/App_Config/Include/XdbCloud, enable the Sitecore.ContentSearch.Cloud.Index.Analytics.config file.
  4. In Website/App_Config/Include, enable the Sitecore.ContentSearch.Lucene.Index.Analytics.config file.

Configure Solr and Cloud Search

To configure Solr and Cloud Search you must disable all Lucene files by adding the .disabled extension to the file name, configure Solr, and then enable the following Solr configuration files by removing the .disabled extension from the file name.

Note

Lucene configuration files are all enabled by default, whereas Solr configuration files are all disabled by default.

  1. In Website/App_Config/Include/XdbCloud, enable the Sitecore.ContentSearch.Cloud.DefaultIndexConfiguration.config file.
  2. In Website/App_Config/Include, enable the Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config file.
  3. In Website/App_Config/Include/XdbCloud, enable the Sitecore.ContentSearch.Cloud.Index.Analytics.config file.
  4. In Website/App_Config/Include, enable the Sitecore.ContentSearch.Solr.Index.Analytics.config file.
  5. This step is only required if you are using a Sitecore.Cloud.ContentSearch component that is older than revision 151126.

    Sitecore version

    Related update packages

    Sitecore 7.5

    Sitecore.Cloud.Xdb.Update 7.5 rev. 151126.zip

    Sitecore 8.0

    Sitecore.Cloud.Xdb.Update 8.0 rev. 151126.zip

    Sitecore 8.1

    Sitecore.Cloud.Xdb.Update 8.1.0 rev. 151126.zip

    If you are using a component that is older than revision 151126, apply the following configuration file fixes manually:

    In your Sitecore.Cloud.ContentSearch component, in the ContentSearch.Cloud.Index.Analytics.config file, (App_Config/Include/XdbCloud/Sitecore), replace the following line:

    <fieldReaders ref="contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldReaders">

    with:

    <fieldReaders ref="contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldReaders">

Send feedback about the documentation to docsite@sitecore.net.