문제

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