///<summary>GET on /_searchable_snapshots/stats <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html</para></summary> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> ///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks> public TResponse Stats <TResponse>(StatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, "_searchable_snapshots/stats", null, RequestParams(requestParameters));
///<summary>GET on /{index}/_searchable_snapshots/stats <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html</para></summary> ///<param name = "index">A comma-separated list of index names</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> ///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks> public TResponse Stats <TResponse>(string index, StatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, Url($"{index:index}/_searchable_snapshots/stats"), null, RequestParams(requestParameters));
public Task <TResponse> StatsAsync <TResponse>(string index, StatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(GET, Url($"{index:index}/_searchable_snapshots/stats"), ctx, null, RequestParams(requestParameters));
public Task <TResponse> StatsAsync <TResponse>(StatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(GET, "_searchable_snapshots/stats", ctx, null, RequestParams(requestParameters));