We are using Sitecore 8.2 with Azure search. When I delete an item and publish the parent folder, the item goes away from sitecore_web_index, however, it doesnt go away from the custom_web_index. (I checked - the item didnt get removed from custom_master_index as well).

When I rebuild the custom indexes - they do get updated and remove the deleted item.

Is there any additional configuration / code required to synchronously keep custom indexes updated?

The index has onPublishEndAsync enabled

<index id="custom_web_index" type="Sitecore.Support.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.Support.145992">
            <param desc="name">$(id)</param>
            <param desc="connectionStringName">cloud.search</param>
            <param desc="totalParallelServices">5</param>
            <!-- Return maximum of 200 facets from search, default is 10 -->
            <!-- This initializes index property store. Id has to be set to the index id -->
            <param desc="propertyStore" ref="contentSearch/indexConfigurations/databasePropertyStore" param1="$(id)" />
            <configuration ref="contentSearch/indexConfigurations/searchCloudIndexConfiguration" />
            <schemaBuilder ref="contentSearch/searchServiceSchemaBuilder" />
            <searchService type="Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure"/>
            <strategies hint="list:AddStrategy">
              <!-- NOTE: order of these is controls the execution order -->
              <strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync" />
            <commitPolicyExecutor type="Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch">
              <policies hint="list:AddCommitPolicy">
                <policy type="Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch" />
                <policy type="Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch">
            <locations hint="list:AddCrawler">
              <crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch">
  • Can you show the rest of the custom index config?
    – Gatogordo
    Jun 11 '20 at 19:20
  • Updated the question with full config @Gatogordo
    – Durga Bose
    Jun 12 '20 at 14:31
  • Looks like a bug, I know a similar issue in 9.0.0 too Nov 13 '20 at 22:04

I think we may have had this issue with our site, it's a Sitecore bug, and there's a patch for it. I would go to Sitecore support for this one.

ETA: Sorry, when I looked it up, the issue I remembered was somewhat different; our issue was about renaming a media item.

  • would you happen to have the support hotfix number? We did reach out to Sitecore but they were unable to help since it was 8.2 and they don't officially support it any more.
    – Durga Bose
    Jun 13 '20 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.