Skip to content

Commit 7444997

Browse files
committed
Add support for synced flush API
Closes #1445
1 parent 3750274 commit 7444997

File tree

12 files changed

+208
-69
lines changed

12 files changed

+208
-69
lines changed

src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4308,12 +4308,12 @@ public FlushRequestParameters FilterPath(string filter_path)
43084308
///http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
43094309
///</pre>
43104310
///</summary>
4311-
public class IndicesFlushSyncedRequestParameters : FluentRequestParameters<IndicesFlushSyncedRequestParameters>
4311+
public class SyncedFlushRequestParameters : FluentRequestParameters<SyncedFlushRequestParameters>
43124312
{
43134313

43144314
internal string _source { get; set; }
43154315
///<summary>The URL-encoded request definition</summary>
4316-
public IndicesFlushSyncedRequestParameters Source(string source)
4316+
public SyncedFlushRequestParameters Source(string source)
43174317
{
43184318
this._source = source;
43194319
this.AddQueryString("source", this._source);
@@ -4323,7 +4323,7 @@ public IndicesFlushSyncedRequestParameters Source(string source)
43234323

43244324
internal string _filter_path { get; set; }
43254325
///<summary>Comma separated list of filters used to reduce the response returned by Elasticsearch</summary>
4326-
public IndicesFlushSyncedRequestParameters FilterPath(string filter_path)
4326+
public SyncedFlushRequestParameters FilterPath(string filter_path)
43274327
{
43284328
this._filter_path = filter_path;
43294329
this.AddQueryString("filter_path", this._filter_path);

src/Elasticsearch.Net/ElasticsearchClient.Generated.cs

Lines changed: 32 additions & 32 deletions
Large diffs are not rendered by default.

src/Elasticsearch.Net/IElasticsearchClient.Generated.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7599,7 +7599,7 @@ public partial interface IElasticsearchClient
75997599
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
76007600
///</returns>
76017601

7602-
ElasticsearchResponse<T> IndicesFlushSyncedForAll<T>(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7602+
ElasticsearchResponse<T> IndicesFlushSyncedForAll<T>(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
76037603

76047604
///<summary>Represents a POST on /_flush/synced
76057605
///<para></para>Returns: A task that'll return an ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7616,7 +7616,7 @@ public partial interface IElasticsearchClient
76167616
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
76177617
///</returns>
76187618

7619-
Task<ElasticsearchResponse<T>> IndicesFlushSyncedForAllAsync<T>(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7619+
Task<ElasticsearchResponse<T>> IndicesFlushSyncedForAllAsync<T>(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
76207620

76217621
///<summary>Represents a POST on /_flush/synced
76227622
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the response body deserialized as DynamicDictionary
@@ -7635,7 +7635,7 @@ public partial interface IElasticsearchClient
76357635
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
76367636
///</returns>
76377637

7638-
ElasticsearchResponse<DynamicDictionary> IndicesFlushSyncedForAll(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7638+
ElasticsearchResponse<DynamicDictionary> IndicesFlushSyncedForAll(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
76397639

76407640
///<summary>Represents a POST on /_flush/synced
76417641
///<para></para>Returns: Task that'll return an ElasticsearchResponse&lt;T$gt; holding the response body deserialized as DynamicDictionary
@@ -7654,7 +7654,7 @@ public partial interface IElasticsearchClient
76547654
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
76557655
///</returns>
76567656

7657-
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedForAllAsync(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7657+
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedForAllAsync(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
76587658

76597659
///<summary>Represents a POST on /{index}/_flush/synced
76607660
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7672,7 +7672,7 @@ public partial interface IElasticsearchClient
76727672
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
76737673
///</returns>
76747674

7675-
ElasticsearchResponse<T> IndicesFlushSynced<T>(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7675+
ElasticsearchResponse<T> IndicesFlushSynced<T>(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
76767676

76777677
///<summary>Represents a POST on /{index}/_flush/synced
76787678
///<para></para>Returns: A task that'll return an ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7690,7 +7690,7 @@ public partial interface IElasticsearchClient
76907690
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
76917691
///</returns>
76927692

7693-
Task<ElasticsearchResponse<T>> IndicesFlushSyncedAsync<T>(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7693+
Task<ElasticsearchResponse<T>> IndicesFlushSyncedAsync<T>(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
76947694

76957695
///<summary>Represents a POST on /{index}/_flush/synced
76967696
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the response body deserialized as DynamicDictionary
@@ -7710,7 +7710,7 @@ public partial interface IElasticsearchClient
77107710
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
77117711
///</returns>
77127712

7713-
ElasticsearchResponse<DynamicDictionary> IndicesFlushSynced(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7713+
ElasticsearchResponse<DynamicDictionary> IndicesFlushSynced(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
77147714

77157715
///<summary>Represents a POST on /{index}/_flush/synced
77167716
///<para></para>Returns: Task that'll return an ElasticsearchResponse&lt;T$gt; holding the response body deserialized as DynamicDictionary
@@ -7730,7 +7730,7 @@ public partial interface IElasticsearchClient
77307730
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
77317731
///</returns>
77327732

7733-
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedAsync(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7733+
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedAsync(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
77347734

77357735
///<summary>Represents a GET on /_flush/synced
77367736
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7747,7 +7747,7 @@ public partial interface IElasticsearchClient
77477747
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
77487748
///</returns>
77497749

7750-
ElasticsearchResponse<T> IndicesFlushSyncedGetForAll<T>(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7750+
ElasticsearchResponse<T> IndicesFlushSyncedGetForAll<T>(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
77517751

77527752
///<summary>Represents a GET on /_flush/synced
77537753
///<para></para>Returns: A task that'll return an ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7764,7 +7764,7 @@ public partial interface IElasticsearchClient
77647764
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
77657765
///</returns>
77667766

7767-
Task<ElasticsearchResponse<T>> IndicesFlushSyncedGetForAllAsync<T>(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7767+
Task<ElasticsearchResponse<T>> IndicesFlushSyncedGetForAllAsync<T>(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
77687768

77697769
///<summary>Represents a GET on /_flush/synced
77707770
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the response body deserialized as DynamicDictionary
@@ -7783,7 +7783,7 @@ public partial interface IElasticsearchClient
77837783
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
77847784
///</returns>
77857785

7786-
ElasticsearchResponse<DynamicDictionary> IndicesFlushSyncedGetForAll(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7786+
ElasticsearchResponse<DynamicDictionary> IndicesFlushSyncedGetForAll(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
77877787

77887788
///<summary>Represents a GET on /_flush/synced
77897789
///<para></para>Returns: Task that'll return an ElasticsearchResponse&lt;T$gt; holding the response body deserialized as DynamicDictionary
@@ -7802,7 +7802,7 @@ public partial interface IElasticsearchClient
78027802
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
78037803
///</returns>
78047804

7805-
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedGetForAllAsync(Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7805+
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedGetForAllAsync(Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
78067806

78077807
///<summary>Represents a GET on /{index}/_flush/synced
78087808
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7820,7 +7820,7 @@ public partial interface IElasticsearchClient
78207820
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
78217821
///</returns>
78227822

7823-
ElasticsearchResponse<T> IndicesFlushSyncedGet<T>(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7823+
ElasticsearchResponse<T> IndicesFlushSyncedGet<T>(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
78247824

78257825
///<summary>Represents a GET on /{index}/_flush/synced
78267826
///<para></para>Returns: A task that'll return an ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
@@ -7838,7 +7838,7 @@ public partial interface IElasticsearchClient
78387838
///<para> - If T is of type VoidResponse the response stream will be ignored completely</para>
78397839
///</returns>
78407840

7841-
Task<ElasticsearchResponse<T>> IndicesFlushSyncedGetAsync<T>(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7841+
Task<ElasticsearchResponse<T>> IndicesFlushSyncedGetAsync<T>(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
78427842

78437843
///<summary>Represents a GET on /{index}/_flush/synced
78447844
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the response body deserialized as DynamicDictionary
@@ -7858,7 +7858,7 @@ public partial interface IElasticsearchClient
78587858
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
78597859
///</returns>
78607860

7861-
ElasticsearchResponse<DynamicDictionary> IndicesFlushSyncedGet(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7861+
ElasticsearchResponse<DynamicDictionary> IndicesFlushSyncedGet(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
78627862

78637863
///<summary>Represents a GET on /{index}/_flush/synced
78647864
///<para></para>Returns: Task that'll return an ElasticsearchResponse&lt;T$gt; holding the response body deserialized as DynamicDictionary
@@ -7878,7 +7878,7 @@ public partial interface IElasticsearchClient
78787878
///<para> - can be safely dispatched to a nullable type even if intermediate properties do not exist</para>
78797879
///</returns>
78807880

7881-
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedGetAsync(string index, Func<IndicesFlushSyncedRequestParameters, IndicesFlushSyncedRequestParameters> requestParameters = null);
7881+
Task<ElasticsearchResponse<DynamicDictionary>> IndicesFlushSyncedGetAsync(string index, Func<SyncedFlushRequestParameters, SyncedFlushRequestParameters> requestParameters = null);
78827882

78837883
///<summary>Represents a GET on /{index}
78847884
///<para></para>Returns: ElasticsearchResponse&lt;T&gt; holding the reponse body deserialized as T.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
using Elasticsearch.Net;
2+
using System;
3+
using System.Collections.Generic;
4+
using System.Linq;
5+
using System.Text;
6+
7+
namespace Nest
8+
{
9+
public interface ISyncedFlushRequest : IIndicesOptionalExplicitAllPath<SyncedFlushRequestParameters>
10+
{
11+
}
12+
13+
internal static class SyncedFlushPathInfo
14+
{
15+
public static void Update(IConnectionSettingsValues settings, ElasticsearchPathInfo<SyncedFlushRequestParameters> pathInfo)
16+
{
17+
pathInfo.HttpMethod = PathInfoHttpMethod.POST;
18+
}
19+
}
20+
21+
public partial class SyncedFlushRequest : IndicesOptionalExplicitAllPathBase<SyncedFlushRequestParameters>
22+
{
23+
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo<SyncedFlushRequestParameters> pathInfo)
24+
{
25+
SyncedFlushPathInfo.Update(settings, pathInfo);
26+
}
27+
}
28+
29+
[DescriptorFor("IndicesFlushSynced")]
30+
public partial class SyncedFlushDescriptor
31+
: IndicesOptionalExplicitAllPathDescriptor<SyncedFlushDescriptor, SyncedFlushRequestParameters>
32+
, ISyncedFlushRequest
33+
{
34+
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo<SyncedFlushRequestParameters> pathInfo)
35+
{
36+
SyncedFlushPathInfo.Update(settings, pathInfo);
37+
}
38+
}
39+
}

src/Nest/DSL/_Descriptors.generated.cs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3860,32 +3860,26 @@ public FlushDescriptor FilterPath(string filter_path)
38603860
///http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
38613861
///</pre>
38623862
///</summary>
3863-
public partial class IndicesFlushSyncedDescriptor : BaseRequest<IndicesFlushSyncedRequestParameters>
3863+
public partial class SyncedFlushDescriptor
38643864
{
38653865

38663866

38673867

38683868
///<summary>The URL-encoded request definition</summary>
3869-
public IndicesFlushSyncedDescriptor Source(string source)
3869+
public SyncedFlushDescriptor Source(string source)
38703870
{
38713871
this.Request.RequestParameters.Source(source);
38723872
return this;
38733873
}
38743874

38753875

38763876
///<summary>Comma separated list of filters used to reduce the response returned by Elasticsearch</summary>
3877-
public IndicesFlushSyncedDescriptor FilterPath(string filter_path)
3877+
public SyncedFlushDescriptor FilterPath(string filter_path)
38783878
{
38793879
this.Request.RequestParameters.FilterPath(filter_path);
38803880
return this;
38813881
}
38823882

3883-
3884-
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo<IndicesFlushSyncedRequestParameters> pathInfo)
3885-
{
3886-
throw new NotImplementedException();
3887-
}
3888-
38893883

38903884
}
38913885

src/Nest/DSL/_Requests.generated.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,7 +3576,7 @@ public string FilterPath
35763576
///http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
35773577
///</pre>
35783578
///</summary>
3579-
public partial class IndicesFlushSyncedRequest : BasePathRequest<IndicesFlushSyncedRequestParameters>
3579+
public partial class SyncedFlushRequest
35803580
{
35813581

35823582
///<summary>The URL-encoded request definition</summary>
@@ -3594,12 +3594,6 @@ public string FilterPath
35943594
set { this.Request.RequestParameters.AddQueryString("filter_path", value); }
35953595
}
35963596

3597-
3598-
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo<IndicesFlushSyncedRequestParameters> pathInfo)
3599-
{
3600-
throw new NotImplementedException();
3601-
}
3602-
36033597
}
36043598

36053599

src/Nest/ElasticClient-Flush.cs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,40 @@ public Task<IShardsOperationResponse> FlushAsync(IFlushRequest flushRequest)
4343
);
4444
}
4545

46+
/// <inheritdoc />
47+
public IShardsOperationResponse SyncedFlush(Func<SyncedFlushDescriptor, SyncedFlushDescriptor> selector)
48+
{
49+
return this.Dispatcher.Dispatch<SyncedFlushDescriptor, SyncedFlushRequestParameters, ShardsOperationResponse>(
50+
selector,
51+
(p, d) => this.RawDispatch.IndicesFlushSyncedDispatch<ShardsOperationResponse>(p)
52+
);
53+
}
54+
55+
/// <inheritdoc />
56+
public IShardsOperationResponse SyncedFlush(ISyncedFlushRequest flushRequest)
57+
{
58+
return this.Dispatcher.Dispatch<ISyncedFlushRequest, SyncedFlushRequestParameters, ShardsOperationResponse>(
59+
flushRequest,
60+
(p, d) => this.RawDispatch.IndicesFlushSyncedDispatch<ShardsOperationResponse>(p)
61+
);
62+
}
63+
64+
/// <inheritdoc />
65+
public Task<IShardsOperationResponse> SyncedFlushAsync(Func<SyncedFlushDescriptor, SyncedFlushDescriptor> selector)
66+
{
67+
return this.Dispatcher.DispatchAsync<SyncedFlushDescriptor, SyncedFlushRequestParameters, ShardsOperationResponse, IShardsOperationResponse>(
68+
selector,
69+
(p, d) => this.RawDispatch.IndicesFlushSyncedDispatchAsync<ShardsOperationResponse>(p)
70+
);
71+
}
72+
73+
/// <inheritdoc />
74+
public Task<IShardsOperationResponse> SyncedFlushAsync(ISyncedFlushRequest flushRequest)
75+
{
76+
return this.Dispatcher.DispatchAsync<ISyncedFlushRequest, SyncedFlushRequestParameters, ShardsOperationResponse, IShardsOperationResponse>(
77+
flushRequest,
78+
(p, d) => this.RawDispatch.IndicesFlushSyncedDispatchAsync<ShardsOperationResponse>(p)
79+
);
80+
}
4681
}
4782
}

src/Nest/IElasticClient.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,25 @@ Task<IIndicesResponse> DeleteMappingAsync<T>(Func<DeleteMappingDescriptor<T>, De
491491
/// <inheritdoc />
492492
Task<IShardsOperationResponse> FlushAsync(IFlushRequest flushRequest);
493493

494+
/// <summary>
495+
/// The Synced Flush API allows an administrator to initiate a synced flush manually.
496+
/// This can be particularly useful for a planned (rolling) cluster restart where you
497+
/// can stop indexing and don’t want to wait the default 5 minutes for idle indices to
498+
/// be sync-flushed automatically.
499+
/// </summary>
500+
/// <param name="selector">A descriptor that describes the parameters for the synced flush operation</param>
501+
/// <returns></returns>
502+
IShardsOperationResponse SyncedFlush(Func<SyncedFlushDescriptor, SyncedFlushDescriptor> selector);
503+
504+
/// <inheritdoc />
505+
IShardsOperationResponse SyncedFlush(ISyncedFlushRequest flushRequest);
506+
507+
/// <inheritdoc />
508+
Task<IShardsOperationResponse> SyncedFlushAsync(Func<SyncedFlushDescriptor, SyncedFlushDescriptor> selector);
509+
510+
/// <inheritdoc />
511+
Task<IShardsOperationResponse> SyncedFlushAsync(ISyncedFlushRequest flushRequest);
512+
494513
/// <summary>
495514
/// The get settings API allows to retrieve settings of index/indices.
496515
/// <para> </para>http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-get-settings.html

src/Nest/Nest.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@
239239
<Compile Include="DSL\Aggregations\ReverseNestedAggregationDescriptor.cs" />
240240
<Compile Include="DSL\Filter\IndicesFilterDescriptor.cs" />
241241
<Compile Include="Domain\DSL\NoMatchShortcut.cs" />
242+
<Compile Include="DSL\SyncedFlushDescriptor.cs" />
242243
<Compile Include="DSL\Query\Functions\WeightFunction.cs" />
243244
<Compile Include="DSL\Search\IGlobalInnerHit.cs" />
244245
<Compile Include="DSL\Search\IInnerHitsContainer.cs" />

src/Nest/RawDispatch.generated.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ internal Task<ElasticsearchResponse<T>> IndicesFlushDispatchAsync<T>(Elasticsear
18261826
}
18271827

18281828

1829-
internal ElasticsearchResponse<T> IndicesFlushSyncedDispatch<T>(ElasticsearchPathInfo<IndicesFlushSyncedRequestParameters> pathInfo )
1829+
internal ElasticsearchResponse<T> IndicesFlushSyncedDispatch<T>(ElasticsearchPathInfo<SyncedFlushRequestParameters> pathInfo )
18301830
{
18311831
switch(pathInfo.HttpMethod)
18321832
{
@@ -1849,7 +1849,7 @@ internal ElasticsearchResponse<T> IndicesFlushSyncedDispatch<T>(ElasticsearchPat
18491849
}
18501850

18511851

1852-
internal Task<ElasticsearchResponse<T>> IndicesFlushSyncedDispatchAsync<T>(ElasticsearchPathInfo<IndicesFlushSyncedRequestParameters> pathInfo )
1852+
internal Task<ElasticsearchResponse<T>> IndicesFlushSyncedDispatchAsync<T>(ElasticsearchPathInfo<SyncedFlushRequestParameters> pathInfo )
18531853
{
18541854
switch(pathInfo.HttpMethod)
18551855
{

0 commit comments

Comments
 (0)