diff --git a/src/ApiGenerator/Views/HighLevel/Descriptors/Descriptor.cshtml b/src/ApiGenerator/Views/HighLevel/Descriptors/Descriptor.cshtml
index 3b304225fb0..5a8dc2127d2 100644
--- a/src/ApiGenerator/Views/HighLevel/Descriptors/Descriptor.cshtml
+++ b/src/ApiGenerator/Views/HighLevel/Descriptors/Descriptor.cshtml
@@ -57,8 +57,9 @@
await IncludeAsync("HighLevel/Descriptors/XmlDocs.cshtml", desc);
if(!string.IsNullOrWhiteSpace(param.Obsolete))
{
- [Obsolete("Scheduled to be removed in 7.0, @param.Obsolete")]
-
+
+ [Obsolete("Scheduled to be removed in 8.0, @param.Obsolete")]
+
}
public @Raw(type) @(param.ClsName)(@param.DescriptorArgumentType @param.ClsArgumentName@tSuffix) => Qs("@original", @(param.ClsArgumentName));
diff --git a/src/ApiGenerator/last_downloaded_version.txt b/src/ApiGenerator/last_downloaded_version.txt
index 01111bd74d0..fcee865729c 100644
--- a/src/ApiGenerator/last_downloaded_version.txt
+++ b/src/ApiGenerator/last_downloaded_version.txt
@@ -1 +1 @@
-8513510881a3f759492a3a6c62eefeee932dfe64
\ No newline at end of file
+e896ef196218d6327f396f2ff67f8bd41c3d3ecd
\ No newline at end of file
diff --git a/src/Nest/Descriptors.Cat.cs b/src/Nest/Descriptors.Cat.cs
index d9c8c9e532e..403fffa45da 100644
--- a/src/Nest/Descriptors.Cat.cs
+++ b/src/Nest/Descriptors.Cat.cs
@@ -60,7 +60,8 @@ public CatAliasesDescriptor(Names name): base(r => r.Optional("name", name))
public CatAliasesDescriptor Help(bool? help = true) => Qs("help", help);
///Return local information, do not retrieve the state from master node (default: false)
public CatAliasesDescriptor Local(bool? local = true) => Qs("local", local);
- ///Explicit operation timeout for connection to master node [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Explicit operation timeout for connection to master node
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatAliasesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
///Comma-separated list of column names or column aliases to sort by
public CatAliasesDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
@@ -137,9 +138,11 @@ public CatCountDescriptor Index()
public CatCountDescriptor Headers(params string[] headers) => Qs("h", headers);
///Return help information
public CatCountDescriptor Help(bool? help = true) => Qs("help", help);
- ///Return local information, do not retrieve the state from master node (default: false) [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatCountDescriptor Local(bool? local = true) => Qs("local", local);
- ///Explicit operation timeout for connection to master node [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Explicit operation timeout for connection to master node
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatCountDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
///Comma-separated list of column names or column aliases to sort by
public CatCountDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
@@ -177,9 +180,11 @@ public CatFielddataDescriptor(Fields fields): base(r => r.Optional("fields", fie
public CatFielddataDescriptor Headers(params string[] headers) => Qs("h", headers);
///Return help information
public CatFielddataDescriptor Help(bool? help = true) => Qs("help", help);
- ///Return local information, do not retrieve the state from master node (default: false) [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatFielddataDescriptor Local(bool? local = true) => Qs("local", local);
- ///Explicit operation timeout for connection to master node [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Explicit operation timeout for connection to master node
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatFielddataDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
///Comma-separated list of column names or column aliases to sort by
public CatFielddataDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
@@ -201,9 +206,11 @@ public partial class CatHealthDescriptor : RequestDescriptorBase Qs("help", help);
///Set to false to disable timestamping
public CatHealthDescriptor IncludeTimestamp(bool? includetimestamp = true) => Qs("ts", includetimestamp);
- ///Return local information, do not retrieve the state from master node (default: false) [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatHealthDescriptor Local(bool? local = true) => Qs("local", local);
- ///Explicit operation timeout for connection to master node [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Explicit operation timeout for connection to master node
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatHealthDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
///Comma-separated list of column names or column aliases to sort by
public CatHealthDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
@@ -263,6 +270,7 @@ public CatIndicesDescriptor Index()
///If set to true segment stats will include stats for segments that are not currently loaded into memory
public CatIndicesDescriptor IncludeUnloadedSegments(bool? includeunloadedsegments = true) => Qs("include_unloaded_segments", includeunloadedsegments);
///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.11.0, reason: This parameter does not affect the request. It will be removed in a future release.")]
public CatIndicesDescriptor Local(bool? local = true) => Qs("local", local);
///Explicit operation timeout for connection to master node
public CatIndicesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
@@ -352,7 +360,8 @@ public CatDatafeedsDescriptor(Id datafeedId): base(r => r.Optional("datafeed_id"
///The ID of the datafeeds stats to fetch
public CatDatafeedsDescriptor DatafeedId(Id datafeedId) => Assign(datafeedId, (a, v) => a.RouteValues.Optional("datafeed_id", v));
// Request parameters
- ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public CatDatafeedsDescriptor AllowNoDatafeeds(bool? allownodatafeeds = true) => Qs("allow_no_datafeeds", allownodatafeeds);
///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
public CatDatafeedsDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
@@ -388,7 +397,8 @@ public CatJobsDescriptor(Id jobId): base(r => r.Optional("job_id", jobId))
///The ID of the jobs stats to fetch
public CatJobsDescriptor JobId(Id jobId) => Assign(jobId, (a, v) => a.RouteValues.Optional("job_id", v));
// Request parameters
- ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public CatJobsDescriptor AllowNoJobs(bool? allownojobs = true) => Qs("allow_no_jobs", allownojobs);
///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
public CatJobsDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
@@ -484,7 +494,8 @@ public partial class CatNodesDescriptor : RequestDescriptorBase Qs("h", headers);
///Return help information
public CatNodesDescriptor Help(bool? help = true) => Qs("help", help);
- ///Calculate the selected nodes using the local cluster state rather than the state from master node (default: false) [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.6.0, reason: This parameter does not cause this API to act locally.")]
+ ///Calculate the selected nodes using the local cluster state rather than the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.6.0, reason: This parameter does not cause this API to act locally.")]
public CatNodesDescriptor Local(bool? local = true) => Qs("local", local);
///Explicit operation timeout for connection to master node
public CatNodesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
@@ -575,7 +586,8 @@ public CatRecoveryDescriptor Index()
public CatRecoveryDescriptor Headers(params string[] headers) => Qs("h", headers);
///Return help information
public CatRecoveryDescriptor Help(bool? help = true) => Qs("help", help);
- ///Explicit operation timeout for connection to master node [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
+ ///Explicit operation timeout for connection to master node
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.5.0, reason: Removed from the server as it was never a valid option")]
public CatRecoveryDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
///Comma-separated list of column names or column aliases to sort by
public CatRecoveryDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
@@ -678,6 +690,7 @@ public CatShardsDescriptor Index()
///Return help information
public CatShardsDescriptor Help(bool? help = true) => Qs("help", help);
///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.11.0, reason: This parameter does not affect the request. It will be removed in a future release.")]
public CatShardsDescriptor Local(bool? local = true) => Qs("local", local);
///Explicit operation timeout for connection to master node
public CatShardsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
@@ -740,9 +753,9 @@ public partial class CatTasksDescriptor : RequestDescriptorBaseReturn help information
public CatTasksDescriptor Help(bool? help = true) => Qs("help", help);
///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
- public CatTasksDescriptor NodeId(params string[] nodeid) => Qs("node_id", nodeid);
- ///Return tasks with specified parent task id. Set to -1 to return all.
- public CatTasksDescriptor ParentTask(long? parenttask) => Qs("parent_task", parenttask);
+ public CatTasksDescriptor Nodes(params string[] nodes) => Qs("nodes", nodes);
+ ///Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.
+ public CatTasksDescriptor ParentTaskId(string parenttaskid) => Qs("parent_task_id", parenttaskid);
///Comma-separated list of column names or column aliases to sort by
public CatTasksDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
///Verbose mode. Display column headers
@@ -815,7 +828,8 @@ public CatThreadPoolDescriptor(Names threadPoolPatterns): base(r => r.Optional("
public CatThreadPoolDescriptor Local(bool? local = true) => Qs("local", local);
///Explicit operation timeout for connection to master node
public CatThreadPoolDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
- ///The multiplier in which to display values [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.7.0, reason: Setting this value has no effect and will be removed from the specification.")]
+ ///The multiplier in which to display values
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.7.0, reason: Setting this value has no effect and will be removed from the specification.")]
public CatThreadPoolDescriptor Size(Size? size) => Qs("size", size);
///Comma-separated list of column names or column aliases to sort by
public CatThreadPoolDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns);
diff --git a/src/Nest/Descriptors.Indices.cs b/src/Nest/Descriptors.Indices.cs
index 174478180b8..cd794dc5ef0 100644
--- a/src/Nest/Descriptors.Indices.cs
+++ b/src/Nest/Descriptors.Indices.cs
@@ -380,7 +380,9 @@ protected DeleteDataStreamDescriptor(): base()
// values part of the url path
Names IDeleteDataStreamRequest.Name => Self.RouteValues.Get("name");
- // Request parameters
+ // Request parameters
+ ///Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ public DeleteDataStreamDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards);
}
///Descriptor for DeleteTemplate https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
@@ -818,7 +820,9 @@ public GetDataStreamDescriptor(Names name): base(r => r.Optional("name", name))
Names IGetDataStreamRequest.Name => Self.RouteValues.Get("name");
///A comma-separated list of data streams to get; use `*` to get all data streams
public GetDataStreamDescriptor Name(Names name) => Assign(name, (a, v) => a.RouteValues.Optional("name", v));
- // Request parameters
+ // Request parameters
+ ///Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ public GetDataStreamDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards);
}
///Descriptor for GetFieldMapping https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
@@ -902,7 +906,8 @@ public GetMappingDescriptor Index()
public GetMappingDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable);
///Whether to add the type name to the response (default: false)
public GetMappingDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename);
- ///Return local information, do not retrieve the state from master node (default: false) [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.8.0, reason: This parameter is a no-op and field mappings are always retrieved locally.")]
+ ///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.8.0, reason: This parameter is a no-op and field mappings are always retrieved locally.")]
public GetMappingDescriptor Local(bool? local = true) => Qs("local", local);
///Specify timeout for connection to master
public GetMappingDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
@@ -1172,13 +1177,15 @@ protected PutIndexTemplateDescriptor(): base()
// Request parameters
///Whether the index template should only be added if new or can also replace an existing one
public PutIndexTemplateDescriptor Create(bool? create = true) => Qs("create", create);
- ///Return settings in flat format (default: false) [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.7.0, reason: Removed from the server as it was never a valid option")]
+ ///Return settings in flat format (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.7.0, reason: Removed from the server as it was never a valid option")]
public PutIndexTemplateDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings);
///Whether a type should be returned in the body of the mappings.
public PutIndexTemplateDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename);
///Specify timeout for connection to master
public PutIndexTemplateDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
- ///Explicit operation timeout [Obsolete("Scheduled to be removed in 7.0, Deprecated as of: 7.7.0, reason: Removed from the server as it was never a valid option")]
+ ///Explicit operation timeout
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.7.0, reason: Removed from the server as it was never a valid option")]
public PutIndexTemplateDescriptor Timeout(Time timeout) => Qs("timeout", timeout);
}
diff --git a/src/Nest/Descriptors.MachineLearning.cs b/src/Nest/Descriptors.MachineLearning.cs
index 4dc85945609..ab3be292bd9 100644
--- a/src/Nest/Descriptors.MachineLearning.cs
+++ b/src/Nest/Descriptors.MachineLearning.cs
@@ -49,7 +49,8 @@ protected CloseJobDescriptor(): base()
// values part of the url path
Id ICloseJobRequest.JobId => Self.RouteValues.Get("job_id");
// Request parameters
- ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public CloseJobDescriptor AllowNoJobs(bool? allownojobs = true) => Qs("allow_no_jobs", allownojobs);
///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
public CloseJobDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
@@ -461,7 +462,8 @@ public GetDatafeedStatsDescriptor(): base()
///The ID of the datafeeds stats to fetch
public GetDatafeedStatsDescriptor DatafeedId(Id datafeedId) => Assign(datafeedId, (a, v) => a.RouteValues.Optional("datafeed_id", v));
// Request parameters
- ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public GetDatafeedStatsDescriptor AllowNoDatafeeds(bool? allownodatafeeds = true) => Qs("allow_no_datafeeds", allownodatafeeds);
///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
public GetDatafeedStatsDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
@@ -487,10 +489,13 @@ public GetDatafeedsDescriptor(): base()
///The ID of the datafeeds to fetch
public GetDatafeedsDescriptor DatafeedId(Id datafeedId) => Assign(datafeedId, (a, v) => a.RouteValues.Optional("datafeed_id", v));
// Request parameters
- ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public GetDatafeedsDescriptor AllowNoDatafeeds(bool? allownodatafeeds = true) => Qs("allow_no_datafeeds", allownodatafeeds);
///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
public GetDatafeedsDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
+ ///Omits fields that are illegal to set on datafeed PUT
+ public GetDatafeedsDescriptor ExcludeGenerated(bool? excludegenerated = true) => Qs("exclude_generated", excludegenerated);
}
///Descriptor for GetFilters https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html
@@ -560,7 +565,8 @@ public GetJobStatsDescriptor(Id jobId): base(r => r.Optional("job_id", jobId))
///The ID of the jobs stats to fetch
public GetJobStatsDescriptor JobId(Id jobId) => Assign(jobId, (a, v) => a.RouteValues.Optional("job_id", v));
// Request parameters
- ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public GetJobStatsDescriptor AllowNoJobs(bool? allownojobs = true) => Qs("allow_no_jobs", allownojobs);
///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
public GetJobStatsDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
@@ -586,10 +592,13 @@ public GetJobsDescriptor(): base()
///The ID of the jobs to fetch
public GetJobsDescriptor JobId(Id jobId) => Assign(jobId, (a, v) => a.RouteValues.Optional("job_id", v));
// Request parameters
- ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public GetJobsDescriptor AllowNoJobs(bool? allownojobs = true) => Qs("allow_no_jobs", allownojobs);
///Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)
public GetJobsDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
+ ///Omits fields that are illegal to set on job PUT
+ public GetJobsDescriptor ExcludeGenerated(bool? excludegenerated = true) => Qs("exclude_generated", excludegenerated);
}
///Descriptor for GetModelSnapshots https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
@@ -953,7 +962,8 @@ protected StopDatafeedDescriptor(): base()
// values part of the url path
Id IStopDatafeedRequest.DatafeedId => Self.RouteValues.Get("datafeed_id");
// Request parameters
- ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) [Obsolete("Scheduled to be removed in 7.0, deprecated")]
+ ///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
+ [Obsolete("Scheduled to be removed in 8.0, deprecated")]
public StopDatafeedDescriptor AllowNoDatafeeds(bool? allownodatafeeds = true) => Qs("allow_no_datafeeds", allownodatafeeds);
///Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)
public StopDatafeedDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
diff --git a/src/Nest/Descriptors.Transform.cs b/src/Nest/Descriptors.Transform.cs
index 69aadad7f02..560ac67ddef 100644
--- a/src/Nest/Descriptors.Transform.cs
+++ b/src/Nest/Descriptors.Transform.cs
@@ -75,6 +75,8 @@ public GetTransformDescriptor(): base()
// Request parameters
///Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
public GetTransformDescriptor AllowNoMatch(bool? allownomatch = true) => Qs("allow_no_match", allownomatch);
+ ///Omits fields that are illegal to set on transform PUT
+ public GetTransformDescriptor ExcludeGenerated(bool? excludegenerated = true) => Qs("exclude_generated", excludegenerated);
///skips a number of transform configs, defaults to 0
public GetTransformDescriptor From(int? from) => Qs("from", from);
///specifies a max number of transforms to get, defaults to 100
diff --git a/src/Nest/Requests.Cat.cs b/src/Nest/Requests.Cat.cs
index 41e26c3cb72..b28c435d66d 100644
--- a/src/Nest/Requests.Cat.cs
+++ b/src/Nest/Requests.Cat.cs
@@ -579,6 +579,7 @@ public bool? IncludeUnloadedSegments
}
///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.11.0, reason: This parameter does not affect the request. It will be removed in a future release.")]
public bool? Local
{
get => Q("local");
@@ -1626,6 +1627,7 @@ public bool? Help
}
///Return local information, do not retrieve the state from master node (default: false)
+ [Obsolete("Scheduled to be removed in 8.0, Deprecated as of: 7.11.0, reason: This parameter does not affect the request. It will be removed in a future release.")]
public bool? Local
{
get => Q("local");
@@ -1744,6 +1746,7 @@ public partial interface ICatTasksRequest : IRequest
}
///Request for Tasks https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
+ ///Note: Experimental within the Elasticsearch server, this functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
public partial class CatTasksRequest : PlainRequestBase, ICatTasksRequest
{
protected ICatTasksRequest Self => this;
@@ -1793,17 +1796,17 @@ public bool? Help
/// A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're
/// connecting to, leave empty to get information from all nodes
///
- public string[] NodeId
+ public string[] Nodes
{
- get => Q("node_id");
- set => Q("node_id", value);
+ get => Q("nodes");
+ set => Q("nodes", value);
}
- ///Return tasks with specified parent task id. Set to -1 to return all.
- public long? ParentTask
+ ///Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.
+ public string ParentTaskId
{
- get => Q("parent_task");
- set => Q("parent_task", value);
+ get => Q("parent_task_id");
+ set => Q("parent_task_id", value);
}
///Comma-separated list of column names or column aliases to sort by
diff --git a/src/Nest/Requests.Indices.cs b/src/Nest/Requests.Indices.cs
index d07aeea2eb6..26f133fb692 100644
--- a/src/Nest/Requests.Indices.cs
+++ b/src/Nest/Requests.Indices.cs
@@ -641,7 +641,13 @@ protected DeleteDataStreamRequest(): base()
// values part of the url path
[IgnoreDataMember]
Names IDeleteDataStreamRequest.Name => Self.RouteValues.Get("name");
- // Request parameters
+ // Request parameters
+ ///Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ public ExpandWildcards? ExpandWildcards
+ {
+ get => Q("expand_wildcards");
+ set => Q("expand_wildcards", value);
+ }
}
[InterfaceDataContract]
@@ -1450,7 +1456,13 @@ public GetDataStreamRequest(Names name): base(r => r.Optional("name", name))
// values part of the url path
[IgnoreDataMember]
Names IGetDataStreamRequest.Name => Self.RouteValues.Get("name");
- // Request parameters
+ // Request parameters
+ ///Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ public ExpandWildcards? ExpandWildcards
+ {
+ get => Q("expand_wildcards");
+ set => Q("expand_wildcards", value);
+ }
}
[InterfaceDataContract]
diff --git a/src/Nest/Requests.MachineLearning.cs b/src/Nest/Requests.MachineLearning.cs
index 9bc3eaec0ad..bb19fa8d9b3 100644
--- a/src/Nest/Requests.MachineLearning.cs
+++ b/src/Nest/Requests.MachineLearning.cs
@@ -841,6 +841,13 @@ public bool? AllowNoMatch
get => Q("allow_no_match");
set => Q("allow_no_match", value);
}
+
+ ///Omits fields that are illegal to set on datafeed PUT
+ public bool? ExcludeGenerated
+ {
+ get => Q("exclude_generated");
+ set => Q("exclude_generated", value);
+ }
}
[InterfaceDataContract]
@@ -1011,6 +1018,13 @@ public bool? AllowNoMatch
get => Q("allow_no_match");
set => Q("allow_no_match", value);
}
+
+ ///Omits fields that are illegal to set on job PUT
+ public bool? ExcludeGenerated
+ {
+ get => Q("exclude_generated");
+ set => Q("exclude_generated", value);
+ }
}
[InterfaceDataContract]
diff --git a/src/Nest/Requests.Tasks.cs b/src/Nest/Requests.Tasks.cs
index fedb707db05..aa02f0cc3d4 100644
--- a/src/Nest/Requests.Tasks.cs
+++ b/src/Nest/Requests.Tasks.cs
@@ -42,6 +42,7 @@ TaskId TaskId
}
///Request for Cancel https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
+ ///Note: Experimental within the Elasticsearch server, this functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
public partial class CancelTasksRequest : PlainRequestBase, ICancelTasksRequest
{
protected ICancelTasksRequest Self => this;
@@ -104,6 +105,7 @@ TaskId TaskId
}
///Request for GetTask https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
+ ///Note: Experimental within the Elasticsearch server, this functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
public partial class GetTaskRequest : PlainRequestBase, IGetTaskRequest
{
protected IGetTaskRequest Self => this;
@@ -145,6 +147,7 @@ public partial interface IListTasksRequest : IRequestRequest for List https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
+ ///Note: Experimental within the Elasticsearch server, this functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
public partial class ListTasksRequest : PlainRequestBase, IListTasksRequest
{
protected IListTasksRequest Self => this;
diff --git a/src/Nest/Requests.Transform.cs b/src/Nest/Requests.Transform.cs
index 47a1e8de284..a140c05d7c5 100644
--- a/src/Nest/Requests.Transform.cs
+++ b/src/Nest/Requests.Transform.cs
@@ -110,6 +110,13 @@ public bool? AllowNoMatch
set => Q("allow_no_match", value);
}
+ ///Omits fields that are illegal to set on transform PUT
+ public bool? ExcludeGenerated
+ {
+ get => Q("exclude_generated");
+ set => Q("exclude_generated", value);
+ }
+
///skips a number of transform configs, defaults to 0
public int? From
{