SearchResults<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Response containing search results from an index.
public class SearchResults<T>
type SearchResults<'T> = class
Public Class SearchResults(Of T)
Type Parameters
- T
- Inheritance
-
SearchResults<T>
Properties
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. |
SemanticSearch |
Gets the semantic search result. |
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
Azure SDK for .NET