AZ-204 · Question #287
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 correct answer is B. Configure the QueryType property of the SearchParameters class. The SearchParameters.QueryType Property gets or sets a value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. You can write queries against Azure Search based on the rich Lucene Query Parser syntax…
Question
Options
- AConfigure the SearchMode property of the SearchParameters class.
- BConfigure the QueryType property of the SearchParameters class.
- CConfigure the Facets property of the SearchParameters class.
- DConfigure the Filter property of the SearchParameters class.
How the community answered
(32 responses)- A3% (1)
- B81% (26)
- C13% (4)
- D3% (1)
Explanation
The SearchParameters.QueryType Property gets or sets a value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. You can write queries against Azure Search based on the rich Lucene Query Parser syntax for specialized query forms: wildcard, fuzzy search, proximity search, regular expressions are a few https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.search.models.searchparameters https://docs.microsoft.com/en- us/dotnet/api/microsoft.azure.search.models.searchparameters.querytype
Topics
Community Discussion
No community discussion yet for this question.