Is it possible to change the location where the Smartsearch Index is being saved? i would like to save it to my own Azure Blob. and also, i would like to also make the smartsearch point to the same azure blob once the user used smartsearch

有帮助吗?

解决方案

You can change the location of index files by following web.config settings

<add key="CMSSearchIndexPath" value="App_Data\MyCustomIndexes" />

If you'll have the same folder mapped to external storage it should theoretically work

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

See how to configure the storage.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top