Class ElasticsearchResponse<TType>
Represents a response from Elasticsearch
public class ElasticsearchResponse<TType>
Type Parameters
TTypeThe type of the hit
- Inheritance
-
ElasticsearchResponse<TType>
- Inherited Members
Constructors
ElasticsearchResponse()
public ElasticsearchResponse()
Properties
Aggregations
The aggregations
public AggregateDictionary Aggregations { get; set; }
Property Value
- AggregateDictionary
Documents
The documents
public IList<TType> Documents { get; }
Property Value
- IList<TType>
Hits
The hit metadata
public IReadOnlyCollection<Hit<TType>> Hits { get; set; }
Property Value
- IReadOnlyCollection<Hit<TType>>
ScrollId
The scroll id if applicable
public string ScrollId { get; set; }
Property Value
Total
The total results
public uint Total { get; set; }