januseldarim
januseldarim

Reputation: 73

How can I rebuild an azure search index on prod?

how can we change index schema on prod with minimun outages? is there a way to "Swap" services(like we do on web roles) and mantain functionalities when re-creating the index?

Upvotes: 3

Views: 2268

Answers (1)

Eugene Shvets
Eugene Shvets

Reputation: 4671

You can implement this via application configuration as follows:

  1. Make sure the app depends on configuration for deciding which index to talk to.
  2. Build a new index
  3. Update app config to use the new index

Please vote for relevant Azure Search UserVoice suggestions:

  1. Support schema changes with reindexing
  2. Support swapping indexes

Upvotes: 5

Related Questions