azure-docs-sdk-java/docs-ref-autogen/com.azure.search.documents....

102 строки
6.7 KiB
YAML

### YamlMime:JavaEnum
uid: "com.azure.search.documents.models.QueryType"
fullName: "com.azure.search.documents.models.QueryType"
name: "QueryType"
nameWithType: "QueryType"
summary: "Specifies the syntax of the search query."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-\">valueOf</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-\">compareTo</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#describeConstable--\">describeConstable</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--\">getDeclaringClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--\">name</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--\">ordinal</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--\">toString</a>"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public enum **QueryType**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>&lt;<xref href=\"com.azure.search.documents.models.QueryType?alt=com.azure.search.documents.models.QueryType&text=QueryType\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.azure.search.documents.models.QueryType.FULL"
fullName: "com.azure.search.documents.models.QueryType.FULL"
name: "FULL"
nameWithType: "QueryType.FULL"
summary: "Uses the full Lucene query syntax for searches."
desc: "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."
- uid: "com.azure.search.documents.models.QueryType.SEMANTIC"
fullName: "com.azure.search.documents.models.QueryType.SEMANTIC"
name: "SEMANTIC"
nameWithType: "QueryType.SEMANTIC"
summary: "Best suited for queries expressed in natural language as opposed to keywords."
desc: "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."
- uid: "com.azure.search.documents.models.QueryType.SIMPLE"
fullName: "com.azure.search.documents.models.QueryType.SIMPLE"
name: "SIMPLE"
nameWithType: "QueryType.SIMPLE"
summary: "Uses the simple query syntax for searches."
desc: "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."
methods:
- uid: "com.azure.search.documents.models.QueryType.fromString(java.lang.String)"
fullName: "com.azure.search.documents.models.QueryType.fromString(String value)"
name: "fromString(String value)"
nameWithType: "QueryType.fromString(String value)"
summary: "Parses a serialized value to a Query<wbr>Type instance."
modifiers:
- "static"
parameters:
- description: "the serialized value to parse."
name: "value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static QueryType fromString(String value)"
desc: "Parses a serialized value to a QueryType instance."
returns:
description: "the parsed QueryType object, or null if unable to parse."
type: "<xref href=\"com.azure.search.documents.models.QueryType?alt=com.azure.search.documents.models.QueryType&text=QueryType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.models.QueryType.toString()"
fullName: "com.azure.search.documents.models.QueryType.toString()"
name: "toString()"
nameWithType: "QueryType.toString()"
overridden: "java.lang.Enum.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.documents.models.QueryType.valueOf(java.lang.String)"
fullName: "com.azure.search.documents.models.QueryType.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "QueryType.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static QueryType valueOf(String name)"
returns:
type: "<xref href=\"com.azure.search.documents.models.QueryType?alt=com.azure.search.documents.models.QueryType&text=QueryType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.models.QueryType.values()"
fullName: "com.azure.search.documents.models.QueryType.values()"
name: "values()"
nameWithType: "QueryType.values()"
modifiers:
- "static"
syntax: "public static QueryType[] values()"
returns:
type: "<xref href=\"com.azure.search.documents.models.QueryType?alt=com.azure.search.documents.models.QueryType&text=QueryType\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
metadata: {}
package: "com.azure.search.documents.models"
artifact: com.azure:azure-search-documents:11.7.1