在Azure Paas Content Delivery中找不到自定義索引錯誤


1

未找到我的自定義索引" custom_index",Azure Paas CD環境上的Sitecore 8.2中出現錯誤。

但是在CM環境中可以訪問相同的custom_index。

我正在使用Azure搜索服務。我們該如何解決?是否需要任何配置更改?

預先感謝enter image description here

1

Your index needs to be configured in the indexes node. Probably that is done on CM but not on CD.

Check the config on CD for something like:

<contentSearch>
  <configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch">
     <indexes hint="list:AddIndex">
        <index id="your-index-name" type="..">
        ....

As mentioned I would assume you will find this on the CM but not on the CD. In that case, check the file where the custom index is configured and get that also available on the CD.