@@ -187,13 +187,6 @@ public sealed partial class DeleteByQueryRequestParameters : Elastic.Transport.R
187187 /// </summary>
188188 public Elastic . Clients . Elasticsearch . Slices ? Slices { get => Q < Elastic . Clients . Elasticsearch . Slices ? > ( "slices" ) ; set => Q ( "slices" , value ) ; }
189189
190- /// <summary>
191- /// <para>
192- /// A comma-separated list of <c><field>:<direction></c> pairs.
193- /// </para>
194- /// </summary>
195- public System . Collections . Generic . ICollection < string > ? Sort { get => Q < System . Collections . Generic . ICollection < string > ? > ( "sort" ) ; set => Q ( "sort" , value ) ; }
196-
197190 /// <summary>
198191 /// <para>
199192 /// The specific <c>tag</c> of the request for logging and statistical purposes.
@@ -601,13 +594,6 @@ internal DeleteByQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo
601594 /// </summary>
602595 public Elastic . Clients . Elasticsearch . Slices ? Slices { get => Q < Elastic . Clients . Elasticsearch . Slices ? > ( "slices" ) ; set => Q ( "slices" , value ) ; }
603596
604- /// <summary>
605- /// <para>
606- /// A comma-separated list of <c><field>:<direction></c> pairs.
607- /// </para>
608- /// </summary>
609- public System . Collections . Generic . ICollection < string > ? Sort { get => Q < System . Collections . Generic . ICollection < string > ? > ( "sort" ) ; set => Q ( "sort" , value ) ; }
610-
611597 /// <summary>
612598 /// <para>
613599 /// The specific <c>tag</c> of the request for logging and statistical purposes.
@@ -681,6 +667,13 @@ internal DeleteByQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo
681667 /// </para>
682668 /// </summary>
683669 public Elastic . Clients . Elasticsearch . SlicedScroll ? Slice { get ; set ; }
670+
671+ /// <summary>
672+ /// <para>
673+ /// A sort object that specifies the order of deleted documents.
674+ /// </para>
675+ /// </summary>
676+ public System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . SortOptions > ? Sort { get ; set ; }
684677}
685678
686679/// <summary>
@@ -1142,28 +1135,6 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Slices(Syste
11421135 return this ;
11431136 }
11441137
1145- /// <summary>
1146- /// <para>
1147- /// A comma-separated list of <c><field>:<direction></c> pairs.
1148- /// </para>
1149- /// </summary>
1150- public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor Sort ( System . Collections . Generic . ICollection < string > ? value )
1151- {
1152- Instance . Sort = value ;
1153- return this ;
1154- }
1155-
1156- /// <summary>
1157- /// <para>
1158- /// A comma-separated list of <c><field>:<direction></c> pairs.
1159- /// </para>
1160- /// </summary>
1161- public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor Sort ( params string [ ] values )
1162- {
1163- Instance . Sort = [ .. values ] ;
1164- return this ;
1165- }
1166-
11671138 /// <summary>
11681139 /// <para>
11691140 /// The specific <c>tag</c> of the request for logging and statistical purposes.
@@ -1329,6 +1300,62 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Slice<T>(Sys
13291300 return this ;
13301301 }
13311302
1303+ /// <summary>
1304+ /// <para>
1305+ /// A sort object that specifies the order of deleted documents.
1306+ /// </para>
1307+ /// </summary>
1308+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor Sort ( System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . SortOptions > ? value )
1309+ {
1310+ Instance . Sort = value ;
1311+ return this ;
1312+ }
1313+
1314+ /// <summary>
1315+ /// <para>
1316+ /// A sort object that specifies the order of deleted documents.
1317+ /// </para>
1318+ /// </summary>
1319+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor Sort ( params Elastic . Clients . Elasticsearch . SortOptions [ ] values )
1320+ {
1321+ Instance . Sort = [ .. values ] ;
1322+ return this ;
1323+ }
1324+
1325+ /// <summary>
1326+ /// <para>
1327+ /// A sort object that specifies the order of deleted documents.
1328+ /// </para>
1329+ /// </summary>
1330+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor Sort ( params System . Action < Elastic . Clients . Elasticsearch . SortOptionsDescriptor > [ ] actions )
1331+ {
1332+ var items = new System . Collections . Generic . List < Elastic . Clients . Elasticsearch . SortOptions > ( ) ;
1333+ foreach ( var action in actions )
1334+ {
1335+ items . Add ( Elastic . Clients . Elasticsearch . SortOptionsDescriptor . Build ( action ) ) ;
1336+ }
1337+
1338+ Instance . Sort = items ;
1339+ return this ;
1340+ }
1341+
1342+ /// <summary>
1343+ /// <para>
1344+ /// A sort object that specifies the order of deleted documents.
1345+ /// </para>
1346+ /// </summary>
1347+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor Sort < T > ( params System . Action < Elastic . Clients . Elasticsearch . SortOptionsDescriptor < T > > [ ] actions )
1348+ {
1349+ var items = new System . Collections . Generic . List < Elastic . Clients . Elasticsearch . SortOptions > ( ) ;
1350+ foreach ( var action in actions )
1351+ {
1352+ items . Add ( Elastic . Clients . Elasticsearch . SortOptionsDescriptor < T > . Build ( action ) ) ;
1353+ }
1354+
1355+ Instance . Sort = items ;
1356+ return this ;
1357+ }
1358+
13321359 [ System . Runtime . CompilerServices . MethodImpl ( System . Runtime . CompilerServices . MethodImplOptions . AggressiveInlining ) ]
13331360 internal static Elastic . Clients . Elasticsearch . DeleteByQueryRequest Build ( System . Action < Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor > action )
13341361 {
@@ -1838,28 +1865,6 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> S
18381865 return this ;
18391866 }
18401867
1841- /// <summary>
1842- /// <para>
1843- /// A comma-separated list of <c><field>:<direction></c> pairs.
1844- /// </para>
1845- /// </summary>
1846- public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor < TDocument > Sort ( System . Collections . Generic . ICollection < string > ? value )
1847- {
1848- Instance . Sort = value ;
1849- return this ;
1850- }
1851-
1852- /// <summary>
1853- /// <para>
1854- /// A comma-separated list of <c><field>:<direction></c> pairs.
1855- /// </para>
1856- /// </summary>
1857- public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor < TDocument > Sort ( params string [ ] values )
1858- {
1859- Instance . Sort = [ .. values ] ;
1860- return this ;
1861- }
1862-
18631868 /// <summary>
18641869 /// <para>
18651870 /// The specific <c>tag</c> of the request for logging and statistical purposes.
@@ -2003,6 +2008,45 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor<TDocument> S
20032008 return this ;
20042009 }
20052010
2011+ /// <summary>
2012+ /// <para>
2013+ /// A sort object that specifies the order of deleted documents.
2014+ /// </para>
2015+ /// </summary>
2016+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor < TDocument > Sort ( System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . SortOptions > ? value )
2017+ {
2018+ Instance . Sort = value ;
2019+ return this ;
2020+ }
2021+
2022+ /// <summary>
2023+ /// <para>
2024+ /// A sort object that specifies the order of deleted documents.
2025+ /// </para>
2026+ /// </summary>
2027+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor < TDocument > Sort ( params Elastic . Clients . Elasticsearch . SortOptions [ ] values )
2028+ {
2029+ Instance . Sort = [ .. values ] ;
2030+ return this ;
2031+ }
2032+
2033+ /// <summary>
2034+ /// <para>
2035+ /// A sort object that specifies the order of deleted documents.
2036+ /// </para>
2037+ /// </summary>
2038+ public Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor < TDocument > Sort ( params System . Action < Elastic . Clients . Elasticsearch . SortOptionsDescriptor < TDocument > > [ ] actions )
2039+ {
2040+ var items = new System . Collections . Generic . List < Elastic . Clients . Elasticsearch . SortOptions > ( ) ;
2041+ foreach ( var action in actions )
2042+ {
2043+ items . Add ( Elastic . Clients . Elasticsearch . SortOptionsDescriptor < TDocument > . Build ( action ) ) ;
2044+ }
2045+
2046+ Instance . Sort = items ;
2047+ return this ;
2048+ }
2049+
20062050 [ System . Runtime . CompilerServices . MethodImpl ( System . Runtime . CompilerServices . MethodImplOptions . AggressiveInlining ) ]
20072051 internal static Elastic . Clients . Elasticsearch . DeleteByQueryRequest Build ( System . Action < Elastic . Clients . Elasticsearch . DeleteByQueryRequestDescriptor < TDocument > > action )
20082052 {
0 commit comments