You have an Azure Cognitive Search solution and a collection of blog posts that include a category field. You need to index the posts. The solution must meet th...
Microsoft AI-102 Exam
Questions Number: 38 out of 241 Questions
15.77%
Question 38
You have an Azure Cognitive Search solution and a collection of blog posts that include a category field. You need to index the posts. The solution must meet the following requirements: * Include the category field in the search results. * Ensure that users can search for words in the category field. * Ensure that users can perform drill down filtering based on category. Which index attributes should you configure for the category field?
Fields have data types and attributes. The check boxes across the top are index attributes controlling how the field is used. * Retrievable means that it shows up in search results list. You can mark individual fields as off limits for search results by clearing this checkbox, for example for fields used only in filter expressions. * Filterable, Sortable, and Facetable determine whether fields are used in a filter, sort, or faceted navigation structure. * Searchable means that a field is included in full text search. Strings are searchable. Numeric fields and Boolean fields are often marked as not searchable. Reference: https://docs.microsoft.com/en-us/azure/search/search-get-started-portal