SemanticSearchResult Class
- java.
lang. Object - com.
azure. search. documents. models. SemanticSearchResult
- com.
public final class SemanticSearchResult
The document-level results for a SEMANTIC search.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Query |
getQueryCaptions()
Get the query |
Double |
getRerankerScore()
Get the reranker |
Methods inherited from java.lang.Object
Method Details
getQueryCaptions
public List
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:
getRerankerScore
public Double 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:
Applies to
Azure SDK for Java