Skip to content

Commit 47ded8c

Browse files
committed
Temp
1 parent c7bc3e4 commit 47ded8c

File tree

637 files changed

+12142
-14474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

637 files changed

+12142
-14474
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs

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

src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,28 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor Source(Elastic.Client
792792
return this;
793793
}
794794

795+
/// <summary>
796+
/// <para>
797+
/// Indicates whether to return the <c>_source</c> field (<c>true</c> or <c>false</c>) or contains a list of fields to return.
798+
/// </para>
799+
/// </summary>
800+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor Source(System.Func<Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParamDescriptor, Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParam> action)
801+
{
802+
Instance.Source = Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParamDescriptor.Build(action);
803+
return this;
804+
}
805+
806+
/// <summary>
807+
/// <para>
808+
/// Indicates whether to return the <c>_source</c> field (<c>true</c> or <c>false</c>) or contains a list of fields to return.
809+
/// </para>
810+
/// </summary>
811+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor Source<T>(System.Func<Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParamDescriptor<T>, Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParam> action)
812+
{
813+
Instance.Source = Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParamDescriptor<T>.Build(action);
814+
return this;
815+
}
816+
795817
/// <summary>
796818
/// <para>
797819
/// A comma-separated list of source fields to exclude from the response.
@@ -1199,6 +1221,17 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor<TDocument> Source(Ela
11991221
return this;
12001222
}
12011223

1224+
/// <summary>
1225+
/// <para>
1226+
/// Indicates whether to return the <c>_source</c> field (<c>true</c> or <c>false</c>) or contains a list of fields to return.
1227+
/// </para>
1228+
/// </summary>
1229+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor<TDocument> Source(System.Func<Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParamDescriptor<TDocument>, Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParam> action)
1230+
{
1231+
Instance.Source = Elastic.Clients.Elasticsearch.Core.Search.SourceConfigParamDescriptor<TDocument>.Build(action);
1232+
return this;
1233+
}
1234+
12021235
/// <summary>
12031236
/// <para>
12041237
/// A comma-separated list of source fields to exclude from the response.

src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -611,18 +611,6 @@ public Elastic.Clients.Elasticsearch.CountRequestDescriptor Query(Elastic.Client
611611
return this;
612612
}
613613

614-
/// <summary>
615-
/// <para>
616-
/// Defines the search query using Query DSL. A request body query cannot be used
617-
/// with the <c>q</c> query string parameter.
618-
/// </para>
619-
/// </summary>
620-
public Elastic.Clients.Elasticsearch.CountRequestDescriptor Query()
621-
{
622-
Instance.Query = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor.Build(null);
623-
return this;
624-
}
625-
626614
/// <summary>
627615
/// <para>
628616
/// Defines the search query using Query DSL. A request body query cannot be used
@@ -923,18 +911,6 @@ public Elastic.Clients.Elasticsearch.CountRequestDescriptor<TDocument> Query(Ela
923911
return this;
924912
}
925913

926-
/// <summary>
927-
/// <para>
928-
/// Defines the search query using Query DSL. A request body query cannot be used
929-
/// with the <c>q</c> query string parameter.
930-
/// </para>
931-
/// </summary>
932-
public Elastic.Clients.Elasticsearch.CountRequestDescriptor<TDocument> Query()
933-
{
934-
Instance.Query = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor<TDocument>.Build(null);
935-
return this;
936-
}
937-
938914
/// <summary>
939915
/// <para>
940916
/// Defines the search query using Query DSL. A request body query cannot be used

src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri
507507
return this;
508508
}
509509

510+
/// <summary>
511+
/// <para>
512+
/// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster.
513+
/// </para>
514+
/// </summary>
515+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescriptor MaxReadRequestSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
516+
{
517+
Instance.MaxReadRequestSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
518+
return this;
519+
}
520+
510521
/// <summary>
511522
/// <para>
512523
/// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when
@@ -543,6 +554,18 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri
543554
return this;
544555
}
545556

557+
/// <summary>
558+
/// <para>
559+
/// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will
560+
/// be deferred until the total bytes of queued operations goes below the limit.
561+
/// </para>
562+
/// </summary>
563+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescriptor MaxWriteBufferSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
564+
{
565+
Instance.MaxWriteBufferSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
566+
return this;
567+
}
568+
546569
/// <summary>
547570
/// <para>
548571
/// The maximum number of operations per bulk write request executed on the follower.
@@ -565,6 +588,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri
565588
return this;
566589
}
567590

591+
/// <summary>
592+
/// <para>
593+
/// The maximum total bytes of operations per bulk write request executed on the follower.
594+
/// </para>
595+
/// </summary>
596+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescriptor MaxWriteRequestSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
597+
{
598+
Instance.MaxWriteRequestSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
599+
return this;
600+
}
601+
568602
/// <summary>
569603
/// <para>
570604
/// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index.
@@ -770,6 +804,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri
770804
return this;
771805
}
772806

807+
/// <summary>
808+
/// <para>
809+
/// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster.
810+
/// </para>
811+
/// </summary>
812+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescriptor<TDocument> MaxReadRequestSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
813+
{
814+
Instance.MaxReadRequestSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
815+
return this;
816+
}
817+
773818
/// <summary>
774819
/// <para>
775820
/// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when
@@ -806,6 +851,18 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri
806851
return this;
807852
}
808853

854+
/// <summary>
855+
/// <para>
856+
/// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will
857+
/// be deferred until the total bytes of queued operations goes below the limit.
858+
/// </para>
859+
/// </summary>
860+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescriptor<TDocument> MaxWriteBufferSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
861+
{
862+
Instance.MaxWriteBufferSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
863+
return this;
864+
}
865+
809866
/// <summary>
810867
/// <para>
811868
/// The maximum number of operations per bulk write request executed on the follower.
@@ -828,6 +885,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri
828885
return this;
829886
}
830887

888+
/// <summary>
889+
/// <para>
890+
/// The maximum total bytes of operations per bulk write request executed on the follower.
891+
/// </para>
892+
/// </summary>
893+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescriptor<TDocument> MaxWriteRequestSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
894+
{
895+
Instance.MaxWriteRequestSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
896+
return this;
897+
}
898+
831899
/// <summary>
832900
/// <para>
833901
/// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index.

src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.PutAutoFollowPatter
566566
return this;
567567
}
568568

569+
/// <summary>
570+
/// <para>
571+
/// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster.
572+
/// </para>
573+
/// </summary>
574+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.PutAutoFollowPatternRequestDescriptor MaxReadRequestSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
575+
{
576+
Instance.MaxReadRequestSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
577+
return this;
578+
}
579+
569580
/// <summary>
570581
/// <para>
571582
/// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when retrying.
@@ -599,6 +610,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.PutAutoFollowPatter
599610
return this;
600611
}
601612

613+
/// <summary>
614+
/// <para>
615+
/// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the total bytes of queued operations goes below the limit.
616+
/// </para>
617+
/// </summary>
618+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.PutAutoFollowPatternRequestDescriptor MaxWriteBufferSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
619+
{
620+
Instance.MaxWriteBufferSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
621+
return this;
622+
}
623+
602624
/// <summary>
603625
/// <para>
604626
/// The maximum number of operations per bulk write request executed on the follower.
@@ -621,6 +643,17 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.PutAutoFollowPatter
621643
return this;
622644
}
623645

646+
/// <summary>
647+
/// <para>
648+
/// The maximum total bytes of operations per bulk write request executed on the follower.
649+
/// </para>
650+
/// </summary>
651+
public Elastic.Clients.Elasticsearch.CrossClusterReplication.PutAutoFollowPatternRequestDescriptor MaxWriteRequestSize(System.Func<Elastic.Clients.Elasticsearch.ByteSizeDescriptor, Elastic.Clients.Elasticsearch.ByteSize> action)
652+
{
653+
Instance.MaxWriteRequestSize = Elastic.Clients.Elasticsearch.ByteSizeDescriptor.Build(action);
654+
return this;
655+
}
656+
624657
/// <summary>
625658
/// <para>
626659
/// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. Then the follower will immediately attempt to read from the leader again.

src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs

Lines changed: 22 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,17 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Slices(Elast
12091209
return this;
12101210
}
12111211

1212+
/// <summary>
1213+
/// <para>
1214+
/// The number of slices this task should be divided into.
1215+
/// </para>
1216+
/// </summary>
1217+
public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Slices(System.Func<Elastic.Clients.Elasticsearch.SlicesDescriptor, Elastic.Clients.Elasticsearch.Slices> action)
1218+
{
1219+
Instance.Slices = Elastic.Clients.Elasticsearch.SlicesDescriptor.Build(action);
1220+
return this;
1221+
}
1222+
12121223
/// <summary>
12131224
/// <para>
12141225
/// A comma-separated list of <c>&lt;field>:&lt;direction></c> pairs.
@@ -1385,17 +1396,6 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Query(Elasti
13851396
return this;
13861397
}
13871398

1388-
/// <summary>
1389-
/// <para>
1390-
/// The documents to delete specified with Query DSL.
1391-
/// </para>
1392-
/// </summary>
1393-
public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Query()
1394-
{
1395-
Instance.Query = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor.Build(null);
1396-
return this;
1397-
}
1398-
13991399
/// <summary>
14001400
/// <para>
14011401
/// The documents to delete specified with Query DSL.
@@ -1429,17 +1429,6 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Slice(Elasti
14291429
return this;
14301430
}
14311431

1432-
/// <summary>
1433-
/// <para>
1434-
/// Slice the request manually using the provided slice ID and total number of slices.
1435-
/// </para>
1436-
/// </summary>
1437-
public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Slice()
1438-
{
1439-
Instance.Slice = Elastic.Clients.Elasticsearch.SlicedScrollDescriptor.Build(null);
1440-
return this;
1441-
}
1442-
14431432
/// <summary>
14441433
/// <para>
14451434
/// Slice the request manually using the provided slice ID and total number of slices.
@@ -1940,6 +1929,17 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> S
19401929
return this;
19411930
}
19421931

1932+
/// <summary>
1933+
/// <para>
1934+
/// The number of slices this task should be divided into.
1935+
/// </para>
1936+
/// </summary>
1937+
public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> Slices(System.Func<Elastic.Clients.Elasticsearch.SlicesDescriptor, Elastic.Clients.Elasticsearch.Slices> action)
1938+
{
1939+
Instance.Slices = Elastic.Clients.Elasticsearch.SlicesDescriptor.Build(action);
1940+
return this;
1941+
}
1942+
19431943
/// <summary>
19441944
/// <para>
19451945
/// A comma-separated list of <c>&lt;field>:&lt;direction></c> pairs.
@@ -2116,17 +2116,6 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> Q
21162116
return this;
21172117
}
21182118

2119-
/// <summary>
2120-
/// <para>
2121-
/// The documents to delete specified with Query DSL.
2122-
/// </para>
2123-
/// </summary>
2124-
public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> Query()
2125-
{
2126-
Instance.Query = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor<TDocument>.Build(null);
2127-
return this;
2128-
}
2129-
21302119
/// <summary>
21312120
/// <para>
21322121
/// The documents to delete specified with Query DSL.
@@ -2149,17 +2138,6 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> S
21492138
return this;
21502139
}
21512140

2152-
/// <summary>
2153-
/// <para>
2154-
/// Slice the request manually using the provided slice ID and total number of slices.
2155-
/// </para>
2156-
/// </summary>
2157-
public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> Slice()
2158-
{
2159-
Instance.Slice = Elastic.Clients.Elasticsearch.SlicedScrollDescriptor<TDocument>.Build(null);
2160-
return this;
2161-
}
2162-
21632141
/// <summary>
21642142
/// <para>
21652143
/// Slice the request manually using the provided slice ID and total number of slices.

0 commit comments

Comments
 (0)