Class ElasticsearchResponse<TType>
Represents a response from Elasticsearch
Type Parameters
Name | Description |
---|---|
TType | The type of the hit |
Constructors
ElasticsearchResponse()
Declaration
public ElasticsearchResponse()
Properties
Aggregations
The aggregations
Declaration
public AggregateDictionary Aggregations { get; set; }
Property Value
Type | Description |
---|---|
Elastic.Clients.Elasticsearch.Aggregations.AggregateDictionary |
Documents
The documents
Declaration
public IList<TType> Documents { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TType> |
Hits
The hit metadata
Declaration
public IReadOnlyCollection<Hit<TType>> Hits { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<Elastic.Clients.Elasticsearch.Core.Search.Hit<TType>> |
ScrollId
The scroll id if applicable
Declaration
public string ScrollId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Total
The total results
Declaration
public uint Total { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |