@@ -110,14 +110,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete
110
110
/// </summary>
111
111
public bool ? IgnoreUnavailable { get => Q < bool ? > ( "ignore_unavailable" ) ; set => Q ( "ignore_unavailable" , value ) ; }
112
112
113
- /// <summary>
114
- /// <para>
115
- /// Specifies how long the async search needs to be available.
116
- /// Ongoing async searches and any saved search results are deleted after this period.
117
- /// </para>
118
- /// </summary>
119
- public Elastic . Clients . Elasticsearch . Serverless . Duration ? KeepAlive { get => Q < Elastic . Clients . Elasticsearch . Serverless . Duration ? > ( "keep_alive" ) ; set => Q ( "keep_alive" , value ) ; }
120
-
121
113
/// <summary>
122
114
/// <para>
123
115
/// If <c>true</c>, results are stored for later retrieval when the search completes within the <c>wait_for_completion_timeout</c>.
@@ -148,24 +140,23 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete
148
140
149
141
/// <summary>
150
142
/// <para>
151
- /// The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.
143
+ /// Query in the Lucene query string syntax
152
144
/// </para>
153
145
/// </summary>
154
- public long ? PreFilterShardSize { get => Q < long ? > ( "pre_filter_shard_size " ) ; set => Q ( "pre_filter_shard_size " , value ) ; }
146
+ public string ? QueryLuceneSyntax { get => Q < string ? > ( "q " ) ; set => Q ( "q " , value ) ; }
155
147
156
148
/// <summary>
157
149
/// <para>
158
- /// Query in the Lucene query string syntax
150
+ /// Specify if request cache should be used for this request or not, defaults to true
159
151
/// </para>
160
152
/// </summary>
161
- public string ? QueryLuceneSyntax { get => Q < string ? > ( "q " ) ; set => Q ( "q " , value ) ; }
153
+ public bool ? RequestCache { get => Q < bool ? > ( "request_cache " ) ; set => Q ( "request_cache " , value ) ; }
162
154
163
155
/// <summary>
164
156
/// <para>
165
- /// Specify if request cache should be used for this request or not, defaults to true
157
+ /// Indicates whether hits.total should be rendered as an integer or an object in the rest search response
166
158
/// </para>
167
159
/// </summary>
168
- public bool ? RequestCache { get => Q < bool ? > ( "request_cache" ) ; set => Q ( "request_cache" , value ) ; }
169
160
public bool ? RestTotalHitsAsInt { get => Q < bool ? > ( "rest_total_hits_as_int" ) ; set => Q ( "rest_total_hits_as_int" , value ) ; }
170
161
171
162
/// <summary>
@@ -174,7 +165,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete
174
165
/// </para>
175
166
/// </summary>
176
167
public Elastic . Clients . Elasticsearch . Serverless . Routing ? Routing { get => Q < Elastic . Clients . Elasticsearch . Serverless . Routing ? > ( "routing" ) ; set => Q ( "routing" , value ) ; }
177
- public Elastic . Clients . Elasticsearch . Serverless . Duration ? Scroll { get => Q < Elastic . Clients . Elasticsearch . Serverless . Duration ? > ( "scroll" ) ; set => Q ( "scroll" , value ) ; }
178
168
179
169
/// <summary>
180
170
/// <para>
@@ -772,15 +762,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
772
762
[ JsonIgnore ]
773
763
public bool ? IgnoreUnavailable { get => Q < bool ? > ( "ignore_unavailable" ) ; set => Q ( "ignore_unavailable" , value ) ; }
774
764
775
- /// <summary>
776
- /// <para>
777
- /// Specifies how long the async search needs to be available.
778
- /// Ongoing async searches and any saved search results are deleted after this period.
779
- /// </para>
780
- /// </summary>
781
- [ JsonIgnore ]
782
- public Elastic . Clients . Elasticsearch . Serverless . Duration ? KeepAlive { get => Q < Elastic . Clients . Elasticsearch . Serverless . Duration ? > ( "keep_alive" ) ; set => Q ( "keep_alive" , value ) ; }
783
-
784
765
/// <summary>
785
766
/// <para>
786
767
/// If <c>true</c>, results are stored for later retrieval when the search completes within the <c>wait_for_completion_timeout</c>.
@@ -815,28 +796,26 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
815
796
816
797
/// <summary>
817
798
/// <para>
818
- /// The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.
799
+ /// Query in the Lucene query string syntax
819
800
/// </para>
820
801
/// </summary>
821
802
[ JsonIgnore ]
822
- public long ? PreFilterShardSize { get => Q < long ? > ( "pre_filter_shard_size " ) ; set => Q ( "pre_filter_shard_size " , value ) ; }
803
+ public string ? QueryLuceneSyntax { get => Q < string ? > ( "q " ) ; set => Q ( "q " , value ) ; }
823
804
824
805
/// <summary>
825
806
/// <para>
826
- /// Query in the Lucene query string syntax
807
+ /// Specify if request cache should be used for this request or not, defaults to true
827
808
/// </para>
828
809
/// </summary>
829
810
[ JsonIgnore ]
830
- public string ? QueryLuceneSyntax { get => Q < string ? > ( "q " ) ; set => Q ( "q " , value ) ; }
811
+ public bool ? RequestCache { get => Q < bool ? > ( "request_cache " ) ; set => Q ( "request_cache " , value ) ; }
831
812
832
813
/// <summary>
833
814
/// <para>
834
- /// Specify if request cache should be used for this request or not, defaults to true
815
+ /// Indicates whether hits.total should be rendered as an integer or an object in the rest search response
835
816
/// </para>
836
817
/// </summary>
837
818
[ JsonIgnore ]
838
- public bool ? RequestCache { get => Q < bool ? > ( "request_cache" ) ; set => Q ( "request_cache" , value ) ; }
839
- [ JsonIgnore ]
840
819
public bool ? RestTotalHitsAsInt { get => Q < bool ? > ( "rest_total_hits_as_int" ) ; set => Q ( "rest_total_hits_as_int" , value ) ; }
841
820
842
821
/// <summary>
@@ -846,8 +825,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
846
825
/// </summary>
847
826
[ JsonIgnore ]
848
827
public Elastic . Clients . Elasticsearch . Serverless . Routing ? Routing { get => Q < Elastic . Clients . Elasticsearch . Serverless . Routing ? > ( "routing" ) ; set => Q ( "routing" , value ) ; }
849
- [ JsonIgnore ]
850
- public Elastic . Clients . Elasticsearch . Serverless . Duration ? Scroll { get => Q < Elastic . Clients . Elasticsearch . Serverless . Duration ? > ( "scroll" ) ; set => Q ( "scroll" , value ) ; }
851
828
852
829
/// <summary>
853
830
/// <para>
@@ -1192,17 +1169,14 @@ public SubmitAsyncSearchRequestDescriptor()
1192
1169
public SubmitAsyncSearchRequestDescriptor < TDocument > ExpandWildcards ( ICollection < Elastic . Clients . Elasticsearch . Serverless . ExpandWildcard > ? expandWildcards ) => Qs ( "expand_wildcards" , expandWildcards ) ;
1193
1170
public SubmitAsyncSearchRequestDescriptor < TDocument > IgnoreThrottled ( bool ? ignoreThrottled = true ) => Qs ( "ignore_throttled" , ignoreThrottled ) ;
1194
1171
public SubmitAsyncSearchRequestDescriptor < TDocument > IgnoreUnavailable ( bool ? ignoreUnavailable = true ) => Qs ( "ignore_unavailable" , ignoreUnavailable ) ;
1195
- public SubmitAsyncSearchRequestDescriptor < TDocument > KeepAlive ( Elastic . Clients . Elasticsearch . Serverless . Duration ? keepAlive ) => Qs ( "keep_alive" , keepAlive ) ;
1196
1172
public SubmitAsyncSearchRequestDescriptor < TDocument > KeepOnCompletion ( bool ? keepOnCompletion = true ) => Qs ( "keep_on_completion" , keepOnCompletion ) ;
1197
1173
public SubmitAsyncSearchRequestDescriptor < TDocument > Lenient ( bool ? lenient = true ) => Qs ( "lenient" , lenient ) ;
1198
1174
public SubmitAsyncSearchRequestDescriptor < TDocument > MaxConcurrentShardRequests ( long ? maxConcurrentShardRequests ) => Qs ( "max_concurrent_shard_requests" , maxConcurrentShardRequests ) ;
1199
1175
public SubmitAsyncSearchRequestDescriptor < TDocument > Preference ( string ? preference ) => Qs ( "preference" , preference ) ;
1200
- public SubmitAsyncSearchRequestDescriptor < TDocument > PreFilterShardSize ( long ? preFilterShardSize ) => Qs ( "pre_filter_shard_size" , preFilterShardSize ) ;
1201
1176
public SubmitAsyncSearchRequestDescriptor < TDocument > QueryLuceneSyntax ( string ? queryLuceneSyntax ) => Qs ( "q" , queryLuceneSyntax ) ;
1202
1177
public SubmitAsyncSearchRequestDescriptor < TDocument > RequestCache ( bool ? requestCache = true ) => Qs ( "request_cache" , requestCache ) ;
1203
1178
public SubmitAsyncSearchRequestDescriptor < TDocument > RestTotalHitsAsInt ( bool ? restTotalHitsAsInt = true ) => Qs ( "rest_total_hits_as_int" , restTotalHitsAsInt ) ;
1204
1179
public SubmitAsyncSearchRequestDescriptor < TDocument > Routing ( Elastic . Clients . Elasticsearch . Serverless . Routing ? routing ) => Qs ( "routing" , routing ) ;
1205
- public SubmitAsyncSearchRequestDescriptor < TDocument > Scroll ( Elastic . Clients . Elasticsearch . Serverless . Duration ? scroll ) => Qs ( "scroll" , scroll ) ;
1206
1180
public SubmitAsyncSearchRequestDescriptor < TDocument > SearchType ( Elastic . Clients . Elasticsearch . Serverless . SearchType ? searchType ) => Qs ( "search_type" , searchType ) ;
1207
1181
public SubmitAsyncSearchRequestDescriptor < TDocument > SourceExcludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceExcludes ) => Qs ( "_source_excludes" , sourceExcludes ) ;
1208
1182
public SubmitAsyncSearchRequestDescriptor < TDocument > SourceIncludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceIncludes ) => Qs ( "_source_includes" , sourceIncludes ) ;
@@ -2316,17 +2290,14 @@ public SubmitAsyncSearchRequestDescriptor()
2316
2290
public SubmitAsyncSearchRequestDescriptor ExpandWildcards ( ICollection < Elastic . Clients . Elasticsearch . Serverless . ExpandWildcard > ? expandWildcards ) => Qs ( "expand_wildcards" , expandWildcards ) ;
2317
2291
public SubmitAsyncSearchRequestDescriptor IgnoreThrottled ( bool ? ignoreThrottled = true ) => Qs ( "ignore_throttled" , ignoreThrottled ) ;
2318
2292
public SubmitAsyncSearchRequestDescriptor IgnoreUnavailable ( bool ? ignoreUnavailable = true ) => Qs ( "ignore_unavailable" , ignoreUnavailable ) ;
2319
- public SubmitAsyncSearchRequestDescriptor KeepAlive ( Elastic . Clients . Elasticsearch . Serverless . Duration ? keepAlive ) => Qs ( "keep_alive" , keepAlive ) ;
2320
2293
public SubmitAsyncSearchRequestDescriptor KeepOnCompletion ( bool ? keepOnCompletion = true ) => Qs ( "keep_on_completion" , keepOnCompletion ) ;
2321
2294
public SubmitAsyncSearchRequestDescriptor Lenient ( bool ? lenient = true ) => Qs ( "lenient" , lenient ) ;
2322
2295
public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests ( long ? maxConcurrentShardRequests ) => Qs ( "max_concurrent_shard_requests" , maxConcurrentShardRequests ) ;
2323
2296
public SubmitAsyncSearchRequestDescriptor Preference ( string ? preference ) => Qs ( "preference" , preference ) ;
2324
- public SubmitAsyncSearchRequestDescriptor PreFilterShardSize ( long ? preFilterShardSize ) => Qs ( "pre_filter_shard_size" , preFilterShardSize ) ;
2325
2297
public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax ( string ? queryLuceneSyntax ) => Qs ( "q" , queryLuceneSyntax ) ;
2326
2298
public SubmitAsyncSearchRequestDescriptor RequestCache ( bool ? requestCache = true ) => Qs ( "request_cache" , requestCache ) ;
2327
2299
public SubmitAsyncSearchRequestDescriptor RestTotalHitsAsInt ( bool ? restTotalHitsAsInt = true ) => Qs ( "rest_total_hits_as_int" , restTotalHitsAsInt ) ;
2328
2300
public SubmitAsyncSearchRequestDescriptor Routing ( Elastic . Clients . Elasticsearch . Serverless . Routing ? routing ) => Qs ( "routing" , routing ) ;
2329
- public SubmitAsyncSearchRequestDescriptor Scroll ( Elastic . Clients . Elasticsearch . Serverless . Duration ? scroll ) => Qs ( "scroll" , scroll ) ;
2330
2301
public SubmitAsyncSearchRequestDescriptor SearchType ( Elastic . Clients . Elasticsearch . Serverless . SearchType ? searchType ) => Qs ( "search_type" , searchType ) ;
2331
2302
public SubmitAsyncSearchRequestDescriptor SourceExcludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceExcludes ) => Qs ( "_source_excludes" , sourceExcludes ) ;
2332
2303
public SubmitAsyncSearchRequestDescriptor SourceIncludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceIncludes ) => Qs ( "_source_includes" , sourceIncludes ) ;
0 commit comments