Struct rs_es::operations::search::ScanResult [] [src]

pub struct ScanResult<T: Deserialize> {
    pub scroll_id: String,
    pub took: u64,
    pub timed_out: bool,
    pub shards: ShardCountResult,
    pub hits: SearchHitsResult<T>,
    pub aggs: Option<AggregationsResult>,
}

Fields

Methods

impl<T> ScanResult<T> where T: Deserialize + Debug
[src]

Returns an iterator from which hits can be read

Calls the /_search/scroll ES end-point for the next page

Calls ES to close the server-side part of the scan/scroll operation