Question 21 · 462 in bank
You are developing a .NET Core MVC application that allows customers to research independent holiday accommodation providers. You want to implement Azure Search to allow the application to search the index by using various criteria to locate documents related to accommodation venues. You want the application to list holiday accommodation venues that fall within a specific price range and are within a specified distance to an airport. What should you do?
Show answer
Answer: D
Explanation
The solution D - Filter is correct. The thing is that you filter the queried information by a price range and distance to airport. The QueryType is about the syntax of what you can pass into the search. Read the explanations in the docs: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.search.models.searchparameters?view=azure-dotnet
Source: Adapted from community discussion — hstml







