102 строки
7.2 KiB
YAML
102 строки
7.2 KiB
YAML
### YamlMime:JavaEnum
|
|
uid: "com.azure.search.documents.models.AutocompleteMode"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode"
|
|
name: "AutocompleteMode"
|
|
nameWithType: "AutocompleteMode"
|
|
summary: "Specifies the mode for Autocomplete."
|
|
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 **AutocompleteMode**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a><<xref href=\"com.azure.search.documents.models.AutocompleteMode?alt=com.azure.search.documents.models.AutocompleteMode&text=AutocompleteMode\" data-throw-if-not-resolved=\"False\" />>"
|
|
fields:
|
|
- uid: "com.azure.search.documents.models.AutocompleteMode.ONE_TERM"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.ONE_TERM"
|
|
name: "ONE_TERM"
|
|
nameWithType: "AutocompleteMode.ONE_TERM"
|
|
summary: "Only one term is suggested."
|
|
desc: "Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'."
|
|
- uid: "com.azure.search.documents.models.AutocompleteMode.ONE_TERM_WITH_CONTEXT"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.ONE_TERM_WITH_CONTEXT"
|
|
name: "ONE_TERM_WITH_CONTEXT"
|
|
nameWithType: "AutocompleteMode.ONE_TERM_WITH_CONTEXT"
|
|
summary: "Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index."
|
|
desc: "Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'."
|
|
- uid: "com.azure.search.documents.models.AutocompleteMode.TWO_TERMS"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.TWO_TERMS"
|
|
name: "TWO_TERMS"
|
|
nameWithType: "AutocompleteMode.TWO_TERMS"
|
|
summary: "Matching two-term phrases in the index will be suggested."
|
|
desc: "Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'."
|
|
methods:
|
|
- uid: "com.azure.search.documents.models.AutocompleteMode.fromString(java.lang.String)"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.fromString(String value)"
|
|
name: "fromString(String value)"
|
|
nameWithType: "AutocompleteMode.fromString(String value)"
|
|
summary: "Parses a serialized value to a Autocomplete<wbr>Mode 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 AutocompleteMode fromString(String value)"
|
|
desc: "Parses a serialized value to a AutocompleteMode instance."
|
|
returns:
|
|
description: "the parsed AutocompleteMode object, or null if unable to parse."
|
|
type: "<xref href=\"com.azure.search.documents.models.AutocompleteMode?alt=com.azure.search.documents.models.AutocompleteMode&text=AutocompleteMode\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.documents.models.AutocompleteMode.toString()"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.toString()"
|
|
name: "toString()"
|
|
nameWithType: "AutocompleteMode.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.AutocompleteMode.valueOf(java.lang.String)"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.valueOf(String name)"
|
|
name: "valueOf(String name)"
|
|
nameWithType: "AutocompleteMode.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 AutocompleteMode valueOf(String name)"
|
|
returns:
|
|
type: "<xref href=\"com.azure.search.documents.models.AutocompleteMode?alt=com.azure.search.documents.models.AutocompleteMode&text=AutocompleteMode\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.documents.models.AutocompleteMode.values()"
|
|
fullName: "com.azure.search.documents.models.AutocompleteMode.values()"
|
|
name: "values()"
|
|
nameWithType: "AutocompleteMode.values()"
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static AutocompleteMode[] values()"
|
|
returns:
|
|
type: "<xref href=\"com.azure.search.documents.models.AutocompleteMode?alt=com.azure.search.documents.models.AutocompleteMode&text=AutocompleteMode\" data-throw-if-not-resolved=\"False\" />[]"
|
|
desc: "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms."
|
|
metadata: {}
|
|
package: "com.azure.search.documents.models"
|
|
artifact: com.azure:azure-search-documents:11.7.3
|