DocumentSearchResult<T> Class

Definition

Response containing search results from an index.

public class DocumentSearchResult<T>
type DocumentSearchResult<'T> = class
Public Class DocumentSearchResult(Of T)

Type Parameters

T
Inheritance
DocumentSearchResult<T>

Constructors

DocumentSearchResult<T>(IList<SearchResult<T>>, Nullable<Int64>, Nullable<Double>, IDictionary<String,IList<FacetResult>>, SearchContinuationToken)

Initializes a new instance of the DocumentSearchResult class. This constructor is intended to be used for test purposes, since the properties of this class are immutable.

Properties

ContinuationToken

Gets a continuation token that is used to continue fetching search results. This is necessary when Azure Search cannot fulfill a search request with a single response.

Count

Gets 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.

Coverage

Gets a value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request.

Facets

Gets 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.

Results

Gets the sequence of results returned by the query.

Applies to