Index on Azure

Kenny Deblaere asked on November 10, 2016 13:55

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

Recent Answers


Roman Hutnyk answered on November 10, 2016 14:32

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.

0 votesVote for this answer Mark as a Correct answer

Bryan Soltis answered on November 10, 2016 14:34

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

0 votesVote for this answer Mark as a Correct answer

Kenny Deblaere answered on November 10, 2016 14:49

I'm having a Web App running in the cloud, so I do not find the file ServiceConfiguration.Cloud.cscfg.

Can you please help me a little further?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on November 10, 2016 16:50

Kenny,

You might check out the post I wrote on Azure and Smart Search a while back. I had some troubles which were similar.

0 votesVote for this answer Mark as a Correct answer

Kenny Deblaere answered on November 15, 2016 11:44

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.

Kind regards

Kenny

0 votesVote for this answer Mark as a Correct answer

Kenny Deblaere answered on November 23, 2016 08:58

Hello

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.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.