@@ -110,14 +110,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete
110110 /// </summary>
111111 public bool ? IgnoreUnavailable { get => Q < bool ? > ( "ignore_unavailable" ) ; set => Q ( "ignore_unavailable" , value ) ; }
112112
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- 121113 /// <summary>
122114 /// <para>
123115 /// 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
148140
149141 /// <summary>
150142 /// <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
152144 /// </para>
153145 /// </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 ) ; }
155147
156148 /// <summary>
157149 /// <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
159151 /// </para>
160152 /// </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 ) ; }
162154
163155 /// <summary>
164156 /// <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
166158 /// </para>
167159 /// </summary>
168- public bool ? RequestCache { get => Q < bool ? > ( "request_cache" ) ; set => Q ( "request_cache" , value ) ; }
169160 public bool ? RestTotalHitsAsInt { get => Q < bool ? > ( "rest_total_hits_as_int" ) ; set => Q ( "rest_total_hits_as_int" , value ) ; }
170161
171162 /// <summary>
@@ -174,7 +165,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete
174165 /// </para>
175166 /// </summary>
176167 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 ) ; }
178168
179169 /// <summary>
180170 /// <para>
@@ -772,15 +762,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
772762 [ JsonIgnore ]
773763 public bool ? IgnoreUnavailable { get => Q < bool ? > ( "ignore_unavailable" ) ; set => Q ( "ignore_unavailable" , value ) ; }
774764
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- 784765 /// <summary>
785766 /// <para>
786767 /// 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
815796
816797 /// <summary>
817798 /// <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
819800 /// </para>
820801 /// </summary>
821802 [ 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 ) ; }
823804
824805 /// <summary>
825806 /// <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
827808 /// </para>
828809 /// </summary>
829810 [ 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 ) ; }
831812
832813 /// <summary>
833814 /// <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
835816 /// </para>
836817 /// </summary>
837818 [ JsonIgnore ]
838- public bool ? RequestCache { get => Q < bool ? > ( "request_cache" ) ; set => Q ( "request_cache" , value ) ; }
839- [ JsonIgnore ]
840819 public bool ? RestTotalHitsAsInt { get => Q < bool ? > ( "rest_total_hits_as_int" ) ; set => Q ( "rest_total_hits_as_int" , value ) ; }
841820
842821 /// <summary>
@@ -846,8 +825,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
846825 /// </summary>
847826 [ JsonIgnore ]
848827 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 ) ; }
851828
852829 /// <summary>
853830 /// <para>
@@ -1192,17 +1169,14 @@ public SubmitAsyncSearchRequestDescriptor()
11921169 public SubmitAsyncSearchRequestDescriptor < TDocument > ExpandWildcards ( ICollection < Elastic . Clients . Elasticsearch . Serverless . ExpandWildcard > ? expandWildcards ) => Qs ( "expand_wildcards" , expandWildcards ) ;
11931170 public SubmitAsyncSearchRequestDescriptor < TDocument > IgnoreThrottled ( bool ? ignoreThrottled = true ) => Qs ( "ignore_throttled" , ignoreThrottled ) ;
11941171 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 ) ;
11961172 public SubmitAsyncSearchRequestDescriptor < TDocument > KeepOnCompletion ( bool ? keepOnCompletion = true ) => Qs ( "keep_on_completion" , keepOnCompletion ) ;
11971173 public SubmitAsyncSearchRequestDescriptor < TDocument > Lenient ( bool ? lenient = true ) => Qs ( "lenient" , lenient ) ;
11981174 public SubmitAsyncSearchRequestDescriptor < TDocument > MaxConcurrentShardRequests ( long ? maxConcurrentShardRequests ) => Qs ( "max_concurrent_shard_requests" , maxConcurrentShardRequests ) ;
11991175 public SubmitAsyncSearchRequestDescriptor < TDocument > Preference ( string ? preference ) => Qs ( "preference" , preference ) ;
1200- public SubmitAsyncSearchRequestDescriptor < TDocument > PreFilterShardSize ( long ? preFilterShardSize ) => Qs ( "pre_filter_shard_size" , preFilterShardSize ) ;
12011176 public SubmitAsyncSearchRequestDescriptor < TDocument > QueryLuceneSyntax ( string ? queryLuceneSyntax ) => Qs ( "q" , queryLuceneSyntax ) ;
12021177 public SubmitAsyncSearchRequestDescriptor < TDocument > RequestCache ( bool ? requestCache = true ) => Qs ( "request_cache" , requestCache ) ;
12031178 public SubmitAsyncSearchRequestDescriptor < TDocument > RestTotalHitsAsInt ( bool ? restTotalHitsAsInt = true ) => Qs ( "rest_total_hits_as_int" , restTotalHitsAsInt ) ;
12041179 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 ) ;
12061180 public SubmitAsyncSearchRequestDescriptor < TDocument > SearchType ( Elastic . Clients . Elasticsearch . Serverless . SearchType ? searchType ) => Qs ( "search_type" , searchType ) ;
12071181 public SubmitAsyncSearchRequestDescriptor < TDocument > SourceExcludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceExcludes ) => Qs ( "_source_excludes" , sourceExcludes ) ;
12081182 public SubmitAsyncSearchRequestDescriptor < TDocument > SourceIncludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceIncludes ) => Qs ( "_source_includes" , sourceIncludes ) ;
@@ -2316,17 +2290,14 @@ public SubmitAsyncSearchRequestDescriptor()
23162290 public SubmitAsyncSearchRequestDescriptor ExpandWildcards ( ICollection < Elastic . Clients . Elasticsearch . Serverless . ExpandWildcard > ? expandWildcards ) => Qs ( "expand_wildcards" , expandWildcards ) ;
23172291 public SubmitAsyncSearchRequestDescriptor IgnoreThrottled ( bool ? ignoreThrottled = true ) => Qs ( "ignore_throttled" , ignoreThrottled ) ;
23182292 public SubmitAsyncSearchRequestDescriptor IgnoreUnavailable ( bool ? ignoreUnavailable = true ) => Qs ( "ignore_unavailable" , ignoreUnavailable ) ;
2319- public SubmitAsyncSearchRequestDescriptor KeepAlive ( Elastic . Clients . Elasticsearch . Serverless . Duration ? keepAlive ) => Qs ( "keep_alive" , keepAlive ) ;
23202293 public SubmitAsyncSearchRequestDescriptor KeepOnCompletion ( bool ? keepOnCompletion = true ) => Qs ( "keep_on_completion" , keepOnCompletion ) ;
23212294 public SubmitAsyncSearchRequestDescriptor Lenient ( bool ? lenient = true ) => Qs ( "lenient" , lenient ) ;
23222295 public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests ( long ? maxConcurrentShardRequests ) => Qs ( "max_concurrent_shard_requests" , maxConcurrentShardRequests ) ;
23232296 public SubmitAsyncSearchRequestDescriptor Preference ( string ? preference ) => Qs ( "preference" , preference ) ;
2324- public SubmitAsyncSearchRequestDescriptor PreFilterShardSize ( long ? preFilterShardSize ) => Qs ( "pre_filter_shard_size" , preFilterShardSize ) ;
23252297 public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax ( string ? queryLuceneSyntax ) => Qs ( "q" , queryLuceneSyntax ) ;
23262298 public SubmitAsyncSearchRequestDescriptor RequestCache ( bool ? requestCache = true ) => Qs ( "request_cache" , requestCache ) ;
23272299 public SubmitAsyncSearchRequestDescriptor RestTotalHitsAsInt ( bool ? restTotalHitsAsInt = true ) => Qs ( "rest_total_hits_as_int" , restTotalHitsAsInt ) ;
23282300 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 ) ;
23302301 public SubmitAsyncSearchRequestDescriptor SearchType ( Elastic . Clients . Elasticsearch . Serverless . SearchType ? searchType ) => Qs ( "search_type" , searchType ) ;
23312302 public SubmitAsyncSearchRequestDescriptor SourceExcludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceExcludes ) => Qs ( "_source_excludes" , sourceExcludes ) ;
23322303 public SubmitAsyncSearchRequestDescriptor SourceIncludes ( Elastic . Clients . Elasticsearch . Serverless . Fields ? sourceIncludes ) => Qs ( "_source_includes" , sourceIncludes ) ;
0 commit comments