@@ -837,36 +837,6 @@ public ElasticsearchResponse<T> CatThreadPool<T>(Func<CatThreadPoolRequestParame
837837 public Task<ElasticsearchResponse<T>> CatThreadPoolAsync<T>(Func<CatThreadPoolRequestParameters, CatThreadPoolRequestParameters> requestParameters = null)
838838 where T : class => this.DoRequestAsync<T>(GET, Url($"_cat/thread_pool"), null, _params(requestParameters, contentType: "text/plain"));
839839
840- ///<summary>Represents a DELETE on /_search/scroll/{scroll_id}
841- ///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
842- ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
843- ///<para> - byte[], no deserialization, but the response stream will be closed</para>
844- ///<para> - Stream, no deserialization, response stream is your responsibility</para>
845- ///<para> - VoidResponse, no deserialization, response stream never read and closed</para>
846- ///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth
847- ///<para>See also: http://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html</para>
848- ///</summary>
849- ///<param name="scroll_id">A comma-separated list of scroll IDs to clear</param>
850- ///<param name="body">A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter</param>
851- ///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
852- public ElasticsearchResponse<T> ClearScroll<T>(string scroll_id, PostData<object> body, Func<ClearScrollRequestParameters, ClearScrollRequestParameters> requestParameters = null)
853- where T : class => this.DoRequest<T>(DELETE, Url($"_search/scroll/{scroll_id.NotNull("scroll_id")}"), body, _params(requestParameters));
854-
855- ///<summary>Represents a DELETE on /_search/scroll/{scroll_id}
856- ///<para></para>Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T:
857- ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
858- ///<para> - byte[], no deserialization, but the response stream will be closed</para>
859- ///<para> - Stream, no deserialization, response stream is your responsibility</para>
860- ///<para> - VoidResponse, no deserialization, response stream never read and closed</para>
861- ///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth
862- ///<para>See also: http://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html</para>
863- ///</summary>
864- ///<param name="scroll_id">A comma-separated list of scroll IDs to clear</param>
865- ///<param name="body">A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter</param>
866- ///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
867- public Task<ElasticsearchResponse<T>> ClearScrollAsync<T>(string scroll_id, PostData<object> body, Func<ClearScrollRequestParameters, ClearScrollRequestParameters> requestParameters = null)
868- where T : class => this.DoRequestAsync<T>(DELETE, Url($"_search/scroll/{scroll_id.NotNull("scroll_id")}"), body, _params(requestParameters));
869-
870840 ///<summary>Represents a DELETE on /_search/scroll
871841 ///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
872842 ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
@@ -6553,34 +6523,6 @@ public ElasticsearchResponse<T> ScrollGet<T>(Func<ScrollRequestParameters, Scrol
65536523 public Task<ElasticsearchResponse<T>> ScrollGetAsync<T>(Func<ScrollRequestParameters, ScrollRequestParameters> requestParameters = null)
65546524 where T : class => this.DoRequestAsync<T>(GET, Url($"_search/scroll"), null, _params(requestParameters));
65556525
6556- ///<summary>Represents a GET on /_search/scroll/{scroll_id}
6557- ///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
6558- ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
6559- ///<para> - byte[], no deserialization, but the response stream will be closed</para>
6560- ///<para> - Stream, no deserialization, response stream is your responsibility</para>
6561- ///<para> - VoidResponse, no deserialization, response stream never read and closed</para>
6562- ///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth
6563- ///<para>See also: http://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html</para>
6564- ///</summary>
6565- ///<param name="scroll_id">The scroll ID</param>
6566- ///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
6567- public ElasticsearchResponse<T> ScrollGet<T>(string scroll_id, Func<ScrollRequestParameters, ScrollRequestParameters> requestParameters = null)
6568- where T : class => this.DoRequest<T>(GET, Url($"_search/scroll/{scroll_id.NotNull("scroll_id")}"), null, _params(requestParameters));
6569-
6570- ///<summary>Represents a GET on /_search/scroll/{scroll_id}
6571- ///<para></para>Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T:
6572- ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
6573- ///<para> - byte[], no deserialization, but the response stream will be closed</para>
6574- ///<para> - Stream, no deserialization, response stream is your responsibility</para>
6575- ///<para> - VoidResponse, no deserialization, response stream never read and closed</para>
6576- ///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth
6577- ///<para>See also: http://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html</para>
6578- ///</summary>
6579- ///<param name="scroll_id">The scroll ID</param>
6580- ///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
6581- public Task<ElasticsearchResponse<T>> ScrollGetAsync<T>(string scroll_id, Func<ScrollRequestParameters, ScrollRequestParameters> requestParameters = null)
6582- where T : class => this.DoRequestAsync<T>(GET, Url($"_search/scroll/{scroll_id.NotNull("scroll_id")}"), null, _params(requestParameters));
6583-
65846526 ///<summary>Represents a POST on /_search/scroll
65856527 ///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
65866528 ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
@@ -6609,36 +6551,6 @@ public ElasticsearchResponse<T> Scroll<T>(PostData<object> body, Func<ScrollRequ
66096551 public Task<ElasticsearchResponse<T>> ScrollAsync<T>(PostData<object> body, Func<ScrollRequestParameters, ScrollRequestParameters> requestParameters = null)
66106552 where T : class => this.DoRequestAsync<T>(POST, Url($"_search/scroll"), body, _params(requestParameters));
66116553
6612- ///<summary>Represents a POST on /_search/scroll/{scroll_id}
6613- ///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
6614- ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
6615- ///<para> - byte[], no deserialization, but the response stream will be closed</para>
6616- ///<para> - Stream, no deserialization, response stream is your responsibility</para>
6617- ///<para> - VoidResponse, no deserialization, response stream never read and closed</para>
6618- ///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth
6619- ///<para>See also: http://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html</para>
6620- ///</summary>
6621- ///<param name="scroll_id">The scroll ID</param>
6622- ///<param name="body">The scroll ID if not passed by URL or query parameter.</param>
6623- ///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
6624- public ElasticsearchResponse<T> Scroll<T>(string scroll_id, PostData<object> body, Func<ScrollRequestParameters, ScrollRequestParameters> requestParameters = null)
6625- where T : class => this.DoRequest<T>(POST, Url($"_search/scroll/{scroll_id.NotNull("scroll_id")}"), body, _params(requestParameters));
6626-
6627- ///<summary>Represents a POST on /_search/scroll/{scroll_id}
6628- ///<para></para>Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T:
6629- ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
6630- ///<para> - byte[], no deserialization, but the response stream will be closed</para>
6631- ///<para> - Stream, no deserialization, response stream is your responsibility</para>
6632- ///<para> - VoidResponse, no deserialization, response stream never read and closed</para>
6633- ///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth
6634- ///<para>See also: http://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html</para>
6635- ///</summary>
6636- ///<param name="scroll_id">The scroll ID</param>
6637- ///<param name="body">The scroll ID if not passed by URL or query parameter.</param>
6638- ///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
6639- public Task<ElasticsearchResponse<T>> ScrollAsync<T>(string scroll_id, PostData<object> body, Func<ScrollRequestParameters, ScrollRequestParameters> requestParameters = null)
6640- where T : class => this.DoRequestAsync<T>(POST, Url($"_search/scroll/{scroll_id.NotNull("scroll_id")}"), body, _params(requestParameters));
6641-
66426554 ///<summary>Represents a GET on /_search
66436555 ///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
66446556 ///<para> - T, an object you own that the elasticsearch response will be deserialized to /para>
0 commit comments