SemanticSearchResults Class
- java.
lang. Object - com.
azure. search. documents. models. SemanticSearchResults
- com.
public final class SemanticSearchResults
The page-level results for a SEMANTIC search.
Method Summary
Modifier and Type | Method and Description |
---|---|
Semantic |
getErrorReason()
The reason for a partial result returned by Azure AI Search. |
List<Query |
getQueryAnswers()
The answer results based on the search request. |
Semantic |
getResultsType()
The type of the partial result returned by Azure AI Search. |
Methods inherited from java.lang.Object
Method Details
getErrorReason
public SemanticErrorReason getErrorReason()
The reason for a partial result returned by Azure AI Search.
Returns:
The reason for a partial result returned by Azure AI Search.
getQueryAnswers
public List
The answer results based on the search request.
If answers
wasn't supplied in the request this will be null.
Returns:
The answer results if
answers
were supplied in the request, otherwise null.getResultsType
public SemanticSearchResultsType getResultsType()
The type of the partial result returned by Azure AI Search.
Returns:
The type of the partial result returned by Azure AI Search.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java