azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Sug...

110 строки
6.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.Suggester"
fullName: "com.azure.search.models.Suggester"
name: "Suggester"
nameWithType: "Suggester"
summary: "Defines how the Suggest API should apply to a group of fields in the index."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- 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#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<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#hashCode--\">hashCode</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#toString--\">toString</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 final class **Suggester**"
constructors:
- uid: "com.azure.search.models.Suggester.Suggester()"
fullName: "com.azure.search.models.Suggester.Suggester()"
name: "Suggester()"
nameWithType: "Suggester.Suggester()"
summary: "Creates an instance of Suggester class."
syntax: "public Suggester()"
desc: "Creates an instance of Suggester class."
methods:
- uid: "com.azure.search.models.Suggester.getName()"
fullName: "com.azure.search.models.Suggester.getName()"
name: "getName()"
nameWithType: "Suggester.getName()"
summary: "Get the name property: The name of the suggester."
syntax: "public String getName()"
desc: "Get the name property: The name of the suggester."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.Suggester.getSearchMode()"
fullName: "com.azure.search.models.Suggester.getSearchMode()"
name: "getSearchMode()"
nameWithType: "Suggester.getSearchMode()"
summary: "Get the search<wbr>Mode property: A value indicating the capabilities of the suggester."
syntax: "public String getSearchMode()"
desc: "Get the searchMode property: A value indicating the capabilities of the suggester."
returns:
description: "the searchMode value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.Suggester.getSourceFields()"
fullName: "com.azure.search.models.Suggester.getSourceFields()"
name: "getSourceFields()"
nameWithType: "Suggester.getSourceFields()"
summary: "Get the source<wbr>Fields property: The list of field names to which the suggester applies."
syntax: "public List<String> getSourceFields()"
desc: "Get the sourceFields property: The list of field names to which the suggester applies. Each field must be searchable."
returns:
description: "the sourceFields value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.search.models.Suggester.setName(java.lang.String)"
fullName: "com.azure.search.models.Suggester.setName(String name)"
name: "setName(String name)"
nameWithType: "Suggester.setName(String name)"
summary: "Set the name property: The name of the suggester."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Suggester setName(String name)"
desc: "Set the name property: The name of the suggester."
returns:
description: "the Suggester object itself."
type: "<xref href=\"com.azure.search.models.Suggester?alt=com.azure.search.models.Suggester&text=Suggester\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.Suggester.setSearchMode(java.lang.String)"
fullName: "com.azure.search.models.Suggester.setSearchMode(String searchMode)"
name: "setSearchMode(String searchMode)"
nameWithType: "Suggester.setSearchMode(String searchMode)"
summary: "Set the search<wbr>Mode property: A value indicating the capabilities of the suggester."
parameters:
- description: "the searchMode value to set."
name: "searchMode"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Suggester setSearchMode(String searchMode)"
desc: "Set the searchMode property: A value indicating the capabilities of the suggester."
returns:
description: "the Suggester object itself."
type: "<xref href=\"com.azure.search.models.Suggester?alt=com.azure.search.models.Suggester&text=Suggester\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.Suggester.setSourceFields(java.util.List<java.lang.String>)"
fullName: "com.azure.search.models.Suggester.setSourceFields(List<String> sourceFields)"
name: "setSourceFields(List<String> sourceFields)"
nameWithType: "Suggester.setSourceFields(List<String> sourceFields)"
summary: "Set the source<wbr>Fields property: The list of field names to which the suggester applies."
parameters:
- description: "the sourceFields value to set."
name: "sourceFields"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public Suggester setSourceFields(List<String> sourceFields)"
desc: "Set the sourceFields property: The list of field names to which the suggester applies. Each field must be searchable."
returns:
description: "the Suggester object itself."
type: "<xref href=\"com.azure.search.models.Suggester?alt=com.azure.search.models.Suggester&text=Suggester\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines how the Suggest API should apply to a group of fields in the index."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1