diff --git a/src/elasticsearch.rs b/src/elasticsearch.rs index 475c441..18bc2c6 100644 --- a/src/elasticsearch.rs +++ b/src/elasticsearch.rs @@ -217,6 +217,8 @@ pub enum SortOrder { #[derive(Clone, Debug, Deserialize)] pub struct QueryResult { pub hits: QueryHits, + #[serde(rename = "_scroll_id")] + pub scroll_id: Option, } #[derive(Clone, Debug, Deserialize)]