Microsoft Certified: Azure AI Engineer AssociateImplement knowledge mining solutionsHard

A global e-commerce company uses Azure AI Search to allow customers to search for products. They have product catalogs in multiple languages (English, Spanish, German). When a customer searches in Spanish, they expect results primarily from Spanish product descriptions, but also relevant English descriptions if no good Spanish matches exist. You need to configure the search solution to support this behavior while ensuring language-specific text processing. Which Azure AI Search index field attribute should you configure for the product description fields?

  1. A`filterable` with `searchAnalyzer` set to `language.analyzer`
  2. B`searchable` with language-specific `analyzer` and `searchAnalyzer`
  3. C`searchable` with `analyzer` set to `standard.lucene`
  4. D`sortable` with `indexAnalyzer` set to `language.analyzer`
Show answer & explanation

Correct answer: B. `searchable` with language-specific `analyzer` and `searchAnalyzer`

To achieve language-specific text processing for both indexing and querying, you must mark the fields as `searchable` and then specify a language-specific `analyzer` for indexing and a corresponding `searchAnalyzer` for querying. This ensures that terms are processed correctly for each language.

Why the other options are wrong

  • A. `filterable` is for filtering, not for full-text search with language-specific analysis; `searchAnalyzer` is for query time, not index time.
  • C. Using `standard.lucene` is a generic analyzer, not language-specific, and won't optimize for Spanish or German.
  • D. `sortable` is for sorting, not full-text search, and `indexAnalyzer` is for indexing, but the question implies both index and search analysis are needed for language-specific processing.

Azure AI Search Language Analyzers

Specialized text analyzers in Azure AI Search that perform language-specific processing (e.g., stemming, tokenization, stop word removal) for both indexing and querying, improving relevance for multilingual content.

  • Applied to `searchable` fields.
  • Configured using `analyzer` for indexing and `searchAnalyzer` for querying.
  • Supports numerous languages (e.g., `es.microsoft`, `de.microsoft`).
  • Crucial for accurate multilingual search.

Memory trick: Analyze languages for better search results.

More Implement knowledge mining solutions questions