Designing and Implementing a Microsoft Azure AI Solution

Synonym Maps

Question

You have a requirement if your search criteria in your Cognitive Search uses “dog”, the documents containing “canine” or “puppy” are also searched.

For that you define synonym maps.

Review the statements given below regarding synonym maps and choose statements that are true.

(choose three statements)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answers: B, C and D.

Option A is incorrect because a field cannot use more than one synonym map.

However, you can create multiple synonym maps based on language or lexicon requirements.

Option B is correct because Basic tier supports upto 20 synonym maps.

If you have a requirement to use three synonym maps, you can use the free tier.

Option C is correct because mapping rules only support the solr format.

Option D is correct because synonym maps can only be created programmatically.

Portal does not support synonym map definitions.

Option E is incorrect because Free tier supports upto 5000 rules per synonym map.

Reference:

To learn more about synonym maps in cognitive search, use the link given below:

Sure, I'd be happy to provide a detailed explanation.

In Azure Cognitive Search, a synonym map is used to define alternative terms that should be treated as equivalent for search purposes. For example, if a user searches for "dog", you may want documents containing the terms "canine" or "puppy" to be included in the search results as well. By defining a synonym map that includes "canine" and "puppy" as synonyms for "dog", you can achieve this.

Now, let's review the statements provided and determine which ones are true:

A. A field can use more than one synonym map

This statement is true. A field in Azure Cognitive Search can use multiple synonym maps to define synonyms for different terms. This allows you to tailor your search experience to your specific needs.

B. Basic tier supports up to 20 synonym maps

This statement is true. The Basic tier of Azure Cognitive Search supports up to 20 synonym maps. If you need to use more than 20 synonym maps, you will need to upgrade to a higher tier.

C. Mapping rules only support Apache Solr format

This statement is false. While Azure Cognitive Search supports Apache Solr format for defining synonym maps, it also supports other formats such as CSV, which can be useful if you need to import a large number of synonyms.

D. Portal does not support synonym map definitions

This statement is false. The Azure portal does support synonym map definitions. You can create, edit, and manage synonym maps through the portal, as well as through the REST API and the .NET SDK.

E. Free tier supports up to 4000 rules per synonym map.

This statement is false. The free tier of Azure Cognitive Search does not support synonym maps. The Standard and Basic tiers support synonym maps, but there is no limit to the number of rules that can be defined per synonym map. However, keep in mind that there are other limits on the number of documents, indexes, and other resources that can be used in each tier.

I hope this helps clarify the use and limitations of synonym maps in Azure Cognitive Search!