SearchDocumentsResultBase interface

Response containing search results from an index.

Properties

answers

The answers query results for the search operation; null if the answers query parameter was not specified or set to 'none'. NOTE: This property will not be serialized. It can only be populated by the server.

count

The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response. NOTE: This property will not be serialized. It can only be populated by the server.

coverage

A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request. NOTE: This property will not be serialized. It can only be populated by the server.

facets

The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions. NOTE: This property will not be serialized. It can only be populated by the server.

semanticErrorReason

Reason that a partial response was returned for a semantic search request. NOTE: This property will not be serialized. It can only be populated by the server.

semanticSearchResultsType

Type of partial response that was returned for a semantic search request. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

answers

The answers query results for the search operation; null if the answers query parameter was not specified or set to 'none'. NOTE: This property will not be serialized. It can only be populated by the server.

answers?: QueryAnswerResult[]

Property Value

count

The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response. NOTE: This property will not be serialized. It can only be populated by the server.

count?: number

Property Value

number

coverage

A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request. NOTE: This property will not be serialized. It can only be populated by the server.

coverage?: number

Property Value

number

facets

The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions. NOTE: This property will not be serialized. It can only be populated by the server.

facets?: {[propertyName: string]: FacetResult[]}

Property Value

{[propertyName: string]: FacetResult[]}

semanticErrorReason

Reason that a partial response was returned for a semantic search request. NOTE: This property will not be serialized. It can only be populated by the server.

semanticErrorReason?: "maxWaitExceeded" | "capacityOverloaded" | "transient"

Property Value

"maxWaitExceeded" | "capacityOverloaded" | "transient"

semanticSearchResultsType

Type of partial response that was returned for a semantic search request. NOTE: This property will not be serialized. It can only be populated by the server.

semanticSearchResultsType?: "baseResults" | "rerankedResults"

Property Value

"baseResults" | "rerankedResults"