سؤال

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