public final class SearchResult extends Object
| Constructor and Description |
|---|
SearchResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchDocument |
getDocument()
Get the additionalProperties property: Unmatched properties from the
message are deserialized this collection.
|
Map<String,List<String>> |
getHighlights()
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.
|
double |
getScore()
Get the score property: The relevance score of the document compared to
other documents returned by the query.
|
public SearchDocument getDocument()
public double getScore()
Copyright © 2020 Microsoft Corporation. All rights reserved.