Mar 10 2021 09:12 AM
We are using Azure cognitive search to search through profiles and have come up with some questions:
Thank you
Mar 10 2021 09:34 AM
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).
Mar 10 2021 02:39 PM
If deleting the map would cause any searches to fail, is there a way to remove maps from search fields?
Mar 10 2021 02:48 PM
@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": [])