SearchResults<T> Class

Definition

Response containing search results from an index.

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

Type Parameters

T
Inheritance
System.Object
SearchResults<T>

Properties

Answers

The answers query results for the search operation; null if the QueryAnswer parameter was not specified or set to None.

Captions

The captions query results for the search operation; null if the QueryCaption parameter was not specified or set to None.

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.

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 via Facets.

TotalCount

The total count of results found by the search operation, or null if the count was not requested via IncludeTotalCount. If present, the count may be greater than the number of results in this response. This can happen if you use the Size or Skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response.

Methods

GetResults()

Get all of the SearchResult<T>s synchronously.

GetResultsAsync()

Get all of the SearchResult<T>s asynchronously.

Applies to