question

chanurics-6054 avatar image
1 Vote"
chanurics-6054 asked ajkuma-MSFT edited

Synonyms Support with Azure Suggest


I have a cognitive search implemented for address search.

I've created a synonym map in my search index.

My requirement is to suggest Addresses with synonyms.

Eg: When the user types word 'mt', it should recognize as the word 'Mount' and display it in the Autocomplete section.

but it's not working with Suggest even though it is working with search API.

Will this come as a new feature in the future? or any suggestion please

azure-cognitive-search
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@chanurics-6054, Thanks for taking time to share your feedback on this.

I see that your SO question is answered by Gaurav Mantri. As highlighted in the doc section 'How synonyms are used during query execution':
- Synonym maps are not supported for Suggesters.

Synonyms apply to free form text queries only and are not supported for filters, facets, autocomplete, or suggestions. Autocomplete and suggestions are based only on the original term; synonym matches do not appear in the response.

I have also relayed your feedback to our product engineering team. If there is any update, I'll share it here.

Once again, appreciate your valuable feedback. Thanks for your patience and cooperation.




0 Votes 0 ·

1 Answer

ajkuma-MSFT avatar image
0 Votes"
ajkuma-MSFT answered ajkuma-MSFT edited

@chanurics-6054, I have received an update from our product engineering team now. Apologies for the delay.

We don’t have an ETA for supporting synonym maps as part of suggesters. It is a capability that our team plans to add in the future.

As a workaround, you could upload the synonyms to the document in the search index itself, similar to what is described in this SO response: Azure cognitive search suggestion ignoring word order

Thanks again for your valuable feedback.


To benefit the community find the right answers, please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.