コード例 #1
0
 /// <summary>
 /// <c>GET</c> request to the <c>enrich.stats</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html</a>
 /// </summary>
 public Task <EnrichStatsResponse> StatsAsync(IEnrichStatsRequest request, CancellationToken ct = default) => DoRequestAsync <IEnrichStatsRequest, EnrichStatsResponse>(request, request.RequestParameters, ct);
コード例 #2
0
 /// <summary>
 /// <c>GET</c> request to the <c>enrich.stats</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html</a>
 /// </summary>
 public EnrichStatsResponse Stats(IEnrichStatsRequest request) => DoRequest <IEnrichStatsRequest, EnrichStatsResponse>(request, request.RequestParameters);