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

66 строки
4.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.SearchResult"
fullName: "com.azure.search.models.SearchResult"
name: "SearchResult"
nameWithType: "SearchResult"
summary: "Contains a document found by a search 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 **SearchResult**"
constructors:
- uid: "com.azure.search.models.SearchResult.SearchResult()"
fullName: "com.azure.search.models.SearchResult.SearchResult()"
name: "SearchResult()"
nameWithType: "SearchResult.SearchResult()"
syntax: "public SearchResult()"
methods:
- uid: "com.azure.search.models.SearchResult.getDocument()"
fullName: "com.azure.search.models.SearchResult.getDocument()"
name: "getDocument()"
nameWithType: "SearchResult.getDocument()"
summary: "Get the additional<wbr>Properties property: Unmatched properties from the message are deserialized this collection."
syntax: "public SearchDocument getDocument()"
desc: "Get the additionalProperties property: Unmatched properties from the message are deserialized this collection."
returns:
description: "the additionalProperties value."
type: "<xref href=\"com.azure.search.SearchDocument?alt=com.azure.search.SearchDocument&text=SearchDocument\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchResult.getHighlights()"
fullName: "com.azure.search.models.SearchResult.getHighlights()"
name: "getHighlights()"
nameWithType: "SearchResult.getHighlights()"
summary: "Get the highlights property: Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
syntax: "public Map<String,List<String>> getHighlights()"
desc: "Get the highlights property: Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
returns:
description: "the highlights value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<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;&gt;"
- uid: "com.azure.search.models.SearchResult.getScore()"
fullName: "com.azure.search.models.SearchResult.getScore()"
name: "getScore()"
nameWithType: "SearchResult.getScore()"
summary: "Get the score property: The relevance score of the document compared to other documents returned by the query."
syntax: "public double getScore()"
desc: "Get the score property: The relevance score of the document compared to other documents returned by the query."
returns:
description: "the score value."
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Contains a document found by a search query, plus associated metadata."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1