Forum Discussion
New to Azure search and got some questions
Synonym Maps
When a synonym map is deleted but a field still references it, search queries against that field will fail with Http Status 400, Bad Request. When you recreate the synonym map, you don't need to update the field configuration.
Samples
We generally try to bake in as many best practices into samples as we can. One great starting point is the Knowledge Mining solution accelerator. We also have a new sample showing how to integrate QnA with Azure Cognitive Search that includes a React Template. We also try to publish the code for a lot of our demos such as the COVID search app.
Resetting Indexer
This should be possible. Take a look at this doc (in particular ResetIndexer and RunIndexer).
If deleting the map would cause any searches to fail, is there a way to remove maps from search fields?
- DerekLegenzoffMar 10, 2021Microsoft
Michael51 yes, you can update the index to remove the synonym map from the field. In the case of the REST API, you would just set the synonym map attribute to an empty list ("synonymMaps": [])