将Kentico SmartSearch索引的位置更改为Azure Blob

时间:2014-05-12 12:14:08

标签: azure kentico

是否可以更改Smartsearch索引的保存位置?我想将它保存到我自己的Azure Blob中。而且,一旦用户使用smartsearch,我也想让smartsearch指向同一个azure blob

1 个答案:

答案 0 :(得分:1)

您可以按照web.config设置

更改索引文件的位置
<add key="CMSSearchIndexPath" value="App_Data\MyCustomIndexes" />

如果您将相同的文件夹映射到外部存储器,理论上应该可以正常工作

StorageHelper.MapStoragePath("~/MySite/Media/", mediaProvider);

了解如何configure the storage