SearchQueryType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the syntax of the search query. The default is "simple". Use "full" if your query uses the Lucene query syntax.
public enum SearchQueryType
type SearchQueryType =
Public Enum SearchQueryType
- Inheritance
-
SearchQueryType
Fields
Name | Value | Description |
---|---|---|
Simple | 0 | Uses the simple query syntax for searches. Search text is interpreted using a simple query language that allows for symbols such as +, * and \"\". Queries are evaluated across all searchable fields by default, unless the searchFields parameter is specified. |
Full | 1 | Uses the full Lucene query syntax for searches. Search text is interpreted using the Lucene query language which allows field-specific and weighted searches, as well as other advanced features. |
Semantic | 2 | Best suited for queries expressed in natural language as opposed to keywords. Improves precision of search results by re-ranking the top search results using a ranking model trained on the Web corpus. |