AI-102 · Question #1
Case Study 1 - Wide World Importers Overview Existing Environment A company named Wide World Importers is developing an e-commerce platform. You are working with a solutions architect to design and…
The correct answer is A. Make API queries to the autocomplete endpoint and include suggesterName in the body. B. Add a suggester that has the three product name fields as source fields. F. Set the analyzer property for the three product name variants. Scenario: Support autocompletion and autosuggestion based on all product name variants. A: Call a suggester-enabled query, in the form of a Suggestion request or Autocomplete request, using an API. API usage is illustrated in the following call to the Autocomplete REST API…
Question
Exhibit
Options
- AMake API queries to the autocomplete endpoint and include suggesterName in the body.
- BAdd a suggester that has the three product name fields as source fields.
- CMake API queries to the search endpoint and include the product name fields in the searchFields
- DAdd a suggester for each of the three product name fields.
- ESet the searchAnalyzer property for the three product name variants.
- FSet the analyzer property for the three product name variants.
- GUse the default standard Lucene analyzer ("analyzer": null) or a language analyzer (for
How the community answered
(63 responses)- A76% (48)
- C6% (4)
- D13% (8)
- E2% (1)
- G3% (2)
Explanation
Scenario: Support autocompletion and autosuggestion based on all product name variants. A: Call a suggester-enabled query, in the form of a Suggestion request or Autocomplete request, using an API. API usage is illustrated in the following call to the Autocomplete REST API. POST /indexes/myxboxgames/docs/autocomplete?search&api-version=2020-06-30 "search": "minecraf", "suggesterName": "sg" B: In Azure AI Search, typeahead or "search-as-you-type" is enabled through a suggester. A suggester provides a list of fields that undergo additional tokenization, generating prefix sequences to support matches on partial terms. For example, a suggester that includes a City field with a value for "Seattle" will have prefix combinations of "sea", "seat", "seatt", and "seattl" to support typeahead. example, "analyzer": "en.Microsoft") on the field. https://docs.microsoft.com/en-us/azure/search/index-add-suggesters
Topics
Community Discussion
No community discussion yet for this question.
