Azure Search index is not updating when I publish changes to my QnAMaker knowledgebase


April 2019


155 time


I have a Microsoft chat bot that is using a QnAMaker knowledgebase that is getting frequently updated due to still being in development. It seems that updates to pre-existing question and answer pairs are not being propagated in the Azure Search Index when changes in the QnAMaker knowledgebase are published.

What can I do to force the search index to update itself?

Thanks for any help!

1 answers


I would recommend getting into contact with support for the qna maker team for cases like this, however if you're willing to commit some time and try to do it yourself (if you have a lot of questions) then there is an extreme option that should work to force refresh your search instance.

The steps that worked for me are:

  1. Delete your current frozen indexes from the search instance in azure (everything but test).
  2. Make an edit to every single QnA pair in your kb (even a blank space at the end of the question works, you just need it to be added for retraining)
  3. Retrain/save your kb. (refresh the url-populated questions as well)
  4. Publish your knowledge base again.

All the newly edited questions (in this case all of them) should be freshly added to the index. I am sorry that this is a bit of an extreme option though, so I'd still recommend going to support before this generally.