Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top