Class SemanticSearchResult

java.lang.Object
com.azure.search.documents.models.SemanticSearchResult

public final class SemanticSearchResult extends Object
The document-level results for a semantic search.
  • Method Details

    • 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:
      the rerankerScore value.
    • getQueryCaptions

      public List<QueryCaptionResult> 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.