你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SemanticSearchResults Class

  • java.lang.Object
    • com.azure.search.documents.models.SemanticSearchResults

public final class SemanticSearchResults

The page-level results for a SEMANTIC search.

Method Summary

Modifier and Type Method and Description
SemanticErrorReason getErrorReason()

The reason for a partial result returned by Azure Cognitive Search.

List<QueryAnswerResult> getQueryAnswers()

The answer results based on the search request.

SemanticSearchResultsType getResultsType()

The type of the partial result returned by Azure Cognitive Search.

Methods inherited from java.lang.Object

Method Details

getErrorReason

public SemanticErrorReason getErrorReason()

The reason for a partial result returned by Azure Cognitive Search.

Returns:

The reason for a partial result returned by Azure Cognitive Search.

getQueryAnswers

public List getQueryAnswers()

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 Cognitive Search.

Returns:

The type of the partial result returned by Azure Cognitive Search.

Applies to