@@ -913,6 +913,8 @@ public class GetRequestParameters : RequestParameters<GetRequestParameters>
913913 public class GetScriptRequestParameters : RequestParameters < GetScriptRequestParameters >
914914 {
915915 public override HttpMethod DefaultHttpMethod => HttpMethod . GET ;
916+ ///<summary>Specify timeout for connection to master</summary>
917+ public TimeSpan MasterTimeout { get => Q < TimeSpan > ( "master_timeout" ) ; set => Q ( "master_timeout" , value ) ; }
916918 }
917919
918920 ///<summary>Request options for GetSource<pre>http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html</pre></summary>
@@ -981,8 +983,10 @@ public class AnalyzeRequestParameters : RequestParameters<AnalyzeRequestParamete
981983 ///<summary>The name of the index to scope the operation</summary>
982984 public string IndexQueryString { get => Q < string > ( "index" ) ; set => Q ( "index" , value ) ; }
983985 ///<summary>With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)</summary>
986+ [ Obsolete ( "Scheduled to be removed in 7.0, Erroneously documented as a valid option, no longer document from 6.4 onwards as per https://github.com/elastic/elasticsearch/pull/31795" ) ]
984987 public bool ? PreferLocal { get => Q < bool ? > ( "prefer_local" ) ; set => Q ( "prefer_local" , value ) ; }
985988 ///<summary>Format of the output</summary>
989+ [ Obsolete ( "Scheduled to be removed in 7.0, Erroneously documented as a valid option, no longer document from 6.4 onwards as per https://github.com/elastic/elasticsearch/pull/31795" ) ]
986990 public Format ? Format { get => Q < Format ? > ( "format" ) ; set => Q ( "format" , value ) ; }
987991 }
988992
@@ -1226,6 +1230,8 @@ public class GetIndexRequestParameters : RequestParameters<GetIndexRequestParame
12261230 public bool ? FlatSettings { get => Q < bool ? > ( "flat_settings" ) ; set => Q ( "flat_settings" , value ) ; }
12271231 ///<summary>Whether to return all default setting for each of the indices.</summary>
12281232 public bool ? IncludeDefaults { get => Q < bool ? > ( "include_defaults" ) ; set => Q ( "include_defaults" , value ) ; }
1233+ ///<summary>Specify timeout for connection to master</summary>
1234+ public TimeSpan MasterTimeout { get => Q < TimeSpan > ( "master_timeout" ) ; set => Q ( "master_timeout" , value ) ; }
12291235 }
12301236
12311237 ///<summary>Request options for IndicesGetAliasForAll<pre>http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html</pre></summary>
@@ -1277,6 +1283,8 @@ public class GetMappingRequestParameters : RequestParameters<GetMappingRequestPa
12771283 public bool ? AllowNoIndices { get => Q < bool ? > ( "allow_no_indices" ) ; set => Q ( "allow_no_indices" , value ) ; }
12781284 ///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
12791285 public ExpandWildcards ? ExpandWildcards { get => Q < ExpandWildcards ? > ( "expand_wildcards" ) ; set => Q ( "expand_wildcards" , value ) ; }
1286+ ///<summary>Specify timeout for connection to master</summary>
1287+ public TimeSpan MasterTimeout { get => Q < TimeSpan > ( "master_timeout" ) ; set => Q ( "master_timeout" , value ) ; }
12801288 ///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
12811289 public bool ? Local { get => Q < bool ? > ( "local" ) ; set => Q ( "local" , value ) ; }
12821290 }
@@ -1285,6 +1293,8 @@ public class GetMappingRequestParameters : RequestParameters<GetMappingRequestPa
12851293 public class GetIndexSettingsRequestParameters : RequestParameters < GetIndexSettingsRequestParameters >
12861294 {
12871295 public override HttpMethod DefaultHttpMethod => HttpMethod . GET ;
1296+ ///<summary>Specify timeout for connection to master</summary>
1297+ public TimeSpan MasterTimeout { get => Q < TimeSpan > ( "master_timeout" ) ; set => Q ( "master_timeout" , value ) ; }
12881298 ///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
12891299 public bool ? IgnoreUnavailable { get => Q < bool ? > ( "ignore_unavailable" ) ; set => Q ( "ignore_unavailable" , value ) ; }
12901300 ///<summary>
@@ -1494,6 +1504,8 @@ public class IndicesShardStoresRequestParameters : RequestParameters<IndicesShar
14941504 public class ShrinkIndexRequestParameters : RequestParameters < ShrinkIndexRequestParameters >
14951505 {
14961506 public override HttpMethod DefaultHttpMethod => HttpMethod . PUT ;
1507+ ///<summary>whether or not to copy settings from the source index (defaults to false)</summary>
1508+ public bool ? CopySettings { get => Q < bool ? > ( "copy_settings" ) ; set => Q ( "copy_settings" , value ) ; }
14971509 ///<summary>Explicit operation timeout</summary>
14981510 public TimeSpan Timeout { get => Q < TimeSpan > ( "timeout" ) ; set => Q ( "timeout" , value ) ; }
14991511 ///<summary>Specify timeout for connection to master</summary>
@@ -1506,6 +1518,8 @@ public class ShrinkIndexRequestParameters : RequestParameters<ShrinkIndexRequest
15061518 public class SplitIndexRequestParameters : RequestParameters < SplitIndexRequestParameters >
15071519 {
15081520 public override HttpMethod DefaultHttpMethod => HttpMethod . PUT ;
1521+ ///<summary>whether or not to copy settings from the source index (defaults to false)</summary>
1522+ public bool ? CopySettings { get => Q < bool ? > ( "copy_settings" ) ; set => Q ( "copy_settings" , value ) ; }
15091523 ///<summary>Explicit operation timeout</summary>
15101524 public TimeSpan Timeout { get => Q < TimeSpan > ( "timeout" ) ; set => Q ( "timeout" , value ) ; }
15111525 ///<summary>Specify timeout for connection to master</summary>
0 commit comments