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

66 строки
4.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.documents.models.SuggestResult"
fullName: "com.azure.search.documents.models.SuggestResult"
name: "SuggestResult"
nameWithType: "SuggestResult"
summary: "A result containing a document found by a suggestion query, plus associated metadata."
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 **SuggestResult**"
constructors:
- uid: "com.azure.search.documents.models.SuggestResult.SuggestResult(java.lang.String)"
fullName: "com.azure.search.documents.models.SuggestResult.SuggestResult(String text)"
name: "SuggestResult(String text)"
nameWithType: "SuggestResult.SuggestResult(String text)"
summary: "Constructor of <xref uid=\"com.azure.search.documents.models.SuggestResult\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestResult\"></xref>."
parameters:
- description: "The text of the suggestion result."
name: "text"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SuggestResult(String text)"
desc: "Constructor of <xref uid=\"com.azure.search.documents.models.SuggestResult\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SuggestResult\"></xref>."
methods:
- uid: "com.azure.search.documents.models.SuggestResult.<T>getDocument(java.lang.Class<T>)"
fullName: "com.azure.search.documents.models.SuggestResult.getDocument(Class<T> modelClass)"
name: "getDocument(Class<T> modelClass)"
nameWithType: "SuggestResult.getDocument(Class<T> modelClass)"
summary: "Get the additional<wbr>Properties property: Unmatched properties from the message are deserialized this collection."
parameters:
- description: "The model class converts to."
name: "modelClass"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a>&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public T <T>getDocument(Class<T> modelClass)"
desc: "Get the additionalProperties property: Unmatched properties from the message are deserialized this collection."
returns:
description: "the additionalProperties value."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.models.SuggestResult.getText()"
fullName: "com.azure.search.documents.models.SuggestResult.getText()"
name: "getText()"
nameWithType: "SuggestResult.getText()"
summary: "Get the text property: The text of the suggestion result."
syntax: "public String getText()"
desc: "Get the text property: The text of the suggestion result."
returns:
description: "the text value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "A result containing a document found by a suggestion query, plus associated metadata."
metadata: {}
package: "com.azure.search.documents.models"
artifact: com.azure:azure-search-documents:11.7.3