Hello
I'm having an Index, which has custom search fields created in code.
The problem is, sometimes the index is empty and needs a rebuild. This is very difficult, because a whole lot of my web app uses the index.
My first solution was to let the index rebuild, every time the application starts, but on Azure, the application restarts frequently.
Is there a way, so I don't lose my index files?
Kind regards
Kenny
You shouldn't be loosing index files. Are you storing them into a blob? I'd recommend checking settings/config keys. Please check documentation on this.
Also, It's important to know how you are hosting your application in Azure. There are some differences in how Azure handles files with Cloud Services and Web Apps. You can find a lot of tips for fixing smart search index issues in Azure here:
https://docs.kentico.com/display/K9/Troubleshooting+Smart+search+on+Azure
I'm having a Web App running in the cloud, so I do not find the file ServiceConfiguration.Cloud.cscfg.
ServiceConfiguration.Cloud.cscfg
Can you please help me a little further?
Kenny,
You might check out the post I wrote on Azure and Smart Search a while back. I had some troubles which were similar.
Hi Brenden
I've been adding my path to the blob-storage, but how can I link my SearchIndexInfoProvider to the correct path? Because it gives errors.
SearchIndexInfoProvider
Last night, my machine had a new place on Azure. My Index is empty.
The problem is the production site is down for several hours now.
Please, sign in to be able to submit a new answer.