Class SemanticSearchResult
java.lang.Object
com.azure.search.documents.models.SemanticSearchResult
The document-level results for a
semantic search.-
Method Summary
Modifier and TypeMethodDescriptionGet the queryCaptions property: Captions are the most representative passages from the document relatively to the search query.Get the rerankerScore property: The relevance score computed by the semantic ranker for the top search results.
-
Method Details
-
getRerankerScore
Get the rerankerScore property: The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'.- Returns:
- the rerankerScore value.
-
getQueryCaptions
Get the queryCaptions property: Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'.- Returns:
- the captions value.
-