diff --git a/build/NEST.7xUpgradeAssistant.nuspec b/build/NEST.7xUpgradeAssistant.nuspec
deleted file mode 100644
index ceef6205de3..00000000000
--- a/build/NEST.7xUpgradeAssistant.nuspec
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- NEST.7xUpgradeAssistant
- $version$
- NEST 7.x - Upgrade Assistant
- Elastic and contributors
- Elastic
- 2014-$year$ Elasticsearch BV
- false
- license.txt
- https://github.com/elastic/elasticsearch-net
- https://raw.githubusercontent.com/elastic/elasticsearch-net/master/build/nuget-icon.png
- NEST 7.0 introduces API namespaces on the client. This package reintroduces removed methods on the client, with instructions on how to upgrade to using the new APIs
- NEST 7.0 introduces API namespaces on the client. This package reintroduces removed methods on the client, with instructions on how to upgrade to using the new APIs
- https://github.com/elastic/elasticsearch-net/releases/tag/$version$
- elasticsearch,elastic,search,lucene,nest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/build/scripts/Projects.fs b/build/scripts/Projects.fs
index 25966f0a34a..7b41a27b3c0 100644
--- a/build/scripts/Projects.fs
+++ b/build/scripts/Projects.fs
@@ -20,7 +20,6 @@ module Projects =
| Nest
| ElasticsearchNet
| NestJsonNetSerializer
- | NestUpgradeAssistant
type PrivateProject =
| Tests
@@ -40,7 +39,6 @@ module Projects =
Project Project.ElasticsearchNet;
Project Project.Nest;
Project Project.NestJsonNetSerializer;
- Project Project.NestUpgradeAssistant;
PrivateProject PrivateProject.Tests
]
@@ -49,7 +47,6 @@ module Projects =
Project Project.ElasticsearchNet;
Project Project.Nest;
Project Project.NestJsonNetSerializer;
- Project Project.NestUpgradeAssistant;
]
static member Tests = seq [PrivateProject PrivateProject.Tests]
@@ -70,7 +67,6 @@ module Projects =
| Project Nest -> "Nest"
| Project ElasticsearchNet -> "Elasticsearch.Net"
| Project NestJsonNetSerializer -> "Nest.JsonNetSerializer"
- | Project NestUpgradeAssistant -> "Nest.7xUpgradeAssistant"
| PrivateProject Tests -> "Tests"
| PrivateProject DocGenerator -> "DocGenerator"
| PrivateProject ApiGenerator -> "ApiGenerator"
@@ -80,7 +76,6 @@ module Projects =
match this with
| Project Nest -> "NEST"
| Project NestJsonNetSerializer -> "NEST.JsonNetSerializer"
- | Project NestUpgradeAssistant -> "NEST.7xUpgradeAssistant"
| _ -> this.Name
member this.NeedsMerge = match this with | Project NestJsonNetSerializer -> false | _ -> true
diff --git a/build/scripts/Releasing.fs b/build/scripts/Releasing.fs
index e874d8da766..2a674513925 100644
--- a/build/scripts/Releasing.fs
+++ b/build/scripts/Releasing.fs
@@ -107,7 +107,6 @@ module Release =
| Project ElasticsearchNet ->
rewriteDllFile p.Name
ignore()
- | Project NestUpgradeAssistant
| Project NestJsonNetSerializer ->
let nestDeps = doc.XPathSelectElements("/x:package/x:metadata//x:dependency[@id='NEST']", nsManager);
nestDeps |> Seq.iter (fun e ->
@@ -144,9 +143,6 @@ module Release =
let private nugetPackVersioned (p:DotNetProject) nugetId nuspec properties version =
match p with
- | Project NestUpgradeAssistant ->
- printfn "Skipping %s from building a versioned nightly" p.Name
- ignore()
| _ -> nugetPackVersionedUnfiltered p nugetId nuspec properties version
let NugetPack (ArtifactsVersion(version)) = packProjects version nugetPackMain
diff --git a/src/Elasticsearch.sln b/src/Elasticsearch.sln
index 50c73db08ab..1ffe55d3759 100644
--- a/src/Elasticsearch.sln
+++ b/src/Elasticsearch.sln
@@ -65,7 +65,6 @@ ProjectSection(SolutionItems) = preProject
..\build\NEST.nuspec = ..\build\NEST.nuspec
..\NuGet.config = ..\NuGet.config
..\build\Elasticsearch.Net.nuspec = ..\build\Elasticsearch.Net.nuspec
- ..\build\NEST.7xUpgradeAssistant.nuspec = ..\build\NEST.7xUpgradeAssistant.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Markdown", "Markdown", "{2FABB663-F4DB-499A-89F8-3A08828D1D91}"
@@ -75,8 +74,6 @@ ProjectSection(SolutionItems) = preProject
..\readme.md = ..\readme.md
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nest.7xUpgradeAssistant", "Nest.7xUpgradeAssistant\Nest.7xUpgradeAssistant.csproj", "{B8B8C45A-22D3-4D1E-9A3A-C030997D5BF7}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -161,9 +158,5 @@ Global
{D6997ADC-E933-418E-831C-DE1A78897493}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6997ADC-E933-418E-831C-DE1A78897493}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6997ADC-E933-418E-831C-DE1A78897493}.Release|Any CPU.Build.0 = Release|Any CPU
- {B8B8C45A-22D3-4D1E-9A3A-C030997D5BF7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B8B8C45A-22D3-4D1E-9A3A-C030997D5BF7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B8B8C45A-22D3-4D1E-9A3A-C030997D5BF7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B8B8C45A-22D3-4D1E-9A3A-C030997D5BF7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-AcknowledgeWatch.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-AcknowledgeWatch.cs
deleted file mode 100644
index 1dd408a3479..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-AcknowledgeWatch.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Watcher.Acknowledge(), please update this usage.")]
- public static AcknowledgeWatchResponse AcknowledgeWatch(this IElasticClient client, Id id,
- Func selector = null
- )
- => client.Watcher.Acknowledge(id, selector);
-
- [Obsolete("Moved to client.Watcher.Acknowledge(), please update this usage.")]
- public static AcknowledgeWatchResponse AcknowledgeWatch(this IElasticClient client, IAcknowledgeWatchRequest request)
- => client.Watcher.Acknowledge(request);
-
- [Obsolete("Moved to client.Watcher.AcknowledgeAsync(), please update this usage.")]
- public static Task AcknowledgeWatchAsync(this IElasticClient client, Id id,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Watcher.AcknowledgeAsync(id, selector, ct);
-
- [Obsolete("Moved to client.Watcher.AcknowledgeAsync(), please update this usage.")]
- public static Task AcknowledgeWatchAsync(this IElasticClient client, IAcknowledgeWatchRequest request,
- CancellationToken ct = default
- )
- => client.Watcher.AcknowledgeAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ActivateWatch.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ActivateWatch.cs
deleted file mode 100644
index 9837954a91e..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ActivateWatch.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Watcher.Activate(), please update this usage.")]
- public static ActivateWatchResponse ActivateWatch(this IElasticClient client, Id id,
- Func selector = null
- )
- => client.Watcher.Activate(id, selector);
-
- [Obsolete("Moved to client.Watcher.Activate(), please update this usage.")]
- public static ActivateWatchResponse ActivateWatch(this IElasticClient client, IActivateWatchRequest request)
- => client.Watcher.Activate(request);
-
- [Obsolete("Moved to client.Watcher.ActivateAsync(), please update this usage.")]
- public static Task ActivateWatchAsync(this IElasticClient client, Id id,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Watcher.ActivateAsync(id, selector, ct);
-
- [Obsolete("Moved to client.Watcher.ActivateAsync(), please update this usage.")]
- public static Task ActivateWatchAsync(this IElasticClient client, IActivateWatchRequest request,
- CancellationToken ct = default
- )
- => client.Watcher.ActivateAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-Alias.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-Alias.cs
deleted file mode 100644
index 13a56398101..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-Alias.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.BulkAlias(), please update this usage.")]
- public static BulkAliasResponse Alias(this IElasticClient client, Func selector)
- => client.Indices.BulkAlias(selector);
-
- [Obsolete("Moved to client.Indices.BulkAlias(), please update this usage.")]
- public static BulkAliasResponse Alias(this IElasticClient client, IBulkAliasRequest request)
- => client.Indices.BulkAlias(request);
-
- [Obsolete("Moved to client.Indices.BulkAliasAsync(), please update this usage.")]
- public static Task AliasAsync(this IElasticClient client, Func selector,
- CancellationToken ct = default
- )
- => client.Indices.BulkAliasAsync(selector, ct);
-
- [Obsolete("Moved to client.Indices.BulkAliasAsync(), please update this usage.")]
- public static Task AliasAsync(this IElasticClient client, IBulkAliasRequest request, CancellationToken ct = default)
- => client.Indices.BulkAliasAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-AliasExists.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-AliasExists.cs
deleted file mode 100644
index a205b05f88d..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-AliasExists.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using System.IO;
-using System.Threading;
-using System.Threading.Tasks;
-using Elasticsearch.Net;
-
-namespace Nest
-{
- using AliasExistConverter = Func;
-
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.AliasExists(), please update this usage.")]
- public static ExistsResponse AliasExists(this IElasticClient client, Names name,
- Func selector = null
- )
- => client.Indices.AliasExists(name, selector);
-
- [Obsolete("Moved to client.Indices.AliasExists(), please update this usage.")]
- public static ExistsResponse AliasExists(this IElasticClient client, IAliasExistsRequest request)
- => client.Indices.AliasExists(request);
-
- [Obsolete("Moved to client.Indices.AliasExistsAsync(), please update this usage.")]
- public static Task AliasExistsAsync(this IElasticClient client, Names name,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Indices.AliasExistsAsync(name, selector, ct);
-
- [Obsolete("Moved to client.Indices.AliasExistsAsync(), please update this usage.")]
- public static Task AliasExistsAsync(this IElasticClient client, IAliasExistsRequest request, CancellationToken ct = default)
- => client.Indices.AliasExistsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-Analyze.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-Analyze.cs
deleted file mode 100644
index 6b92460b21e..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-Analyze.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.Analyze(), please update this usage.")]
- public static AnalyzeResponse Analyze(this IElasticClient client, Func selector)
- => client.Indices.Analyze(selector);
-
- [Obsolete("Moved to client.Indices.Analyze(), please update this usage.")]
- public static AnalyzeResponse Analyze(this IElasticClient client, IAnalyzeRequest request)
- => client.Indices.Analyze(request);
-
- [Obsolete("Moved to client.Indices.AnalyzeAsync(), please update this usage.")]
- public static Task AnalyzeAsync(this IElasticClient client, Func selector,
- CancellationToken ct = default
- )
- => client.Indices.AnalyzeAsync(selector, ct);
-
- [Obsolete("Moved to client.Indices.AnalyzeAsync(), please update this usage.")]
- public static Task AnalyzeAsync(this IElasticClient client, IAnalyzeRequest request, CancellationToken ct = default)
- => client.Indices.AnalyzeAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-Authenticate.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-Authenticate.cs
deleted file mode 100644
index 0699d5def44..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-Authenticate.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Security.Authenticate(), please update this usage.")]
- public static AuthenticateResponse Authenticate(this IElasticClient client, Func selector = null
- )
- => client.Security.Authenticate(selector);
-
- [Obsolete("Moved to client.Security.Authenticate(), please update this usage.")]
- public static AuthenticateResponse Authenticate(this IElasticClient client, IAuthenticateRequest request)
- => client.Security.Authenticate(request);
-
- [Obsolete("Moved to client.Security.AuthenticateAsync(), please update this usage.")]
- public static Task AuthenticateAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Security.AuthenticateAsync(selector, ct);
-
- [Obsolete("Moved to client.Security.AuthenticateAsync(), please update this usage.")]
- public static Task AuthenticateAsync(this IElasticClient client, IAuthenticateRequest request,
- CancellationToken ct = default
- )
- => client.Security.AuthenticateAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CancelTasks.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CancelTasks.cs
deleted file mode 100644
index 26881b86944..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CancelTasks.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Tasks.Cancel(), please update this usage.")]
- public static CancelTasksResponse CancelTasks(this IElasticClient client, Func selector = null)
- => client.Tasks.Cancel(selector);
-
- [Obsolete("Moved to client.Tasks.Cancel(), please update this usage.")]
- public static CancelTasksResponse CancelTasks(this IElasticClient client, ICancelTasksRequest request)
- => client.Tasks.Cancel(request);
-
- [Obsolete("Moved to client.Tasks.CancelAsync(), please update this usage.")]
- public static Task CancelTasksAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Tasks.CancelAsync(selector, ct);
-
- [Obsolete("Moved to client.Tasks.CancelAsync(), please update this usage.")]
- public static Task CancelTasksAsync(this IElasticClient client, ICancelTasksRequest request,
- CancellationToken ct = default
- )
- => client.Tasks.CancelAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatAliases.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatAliases.cs
deleted file mode 100644
index f7930a064c1..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatAliases.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Aliases(), please update this usage.")]
- public static CatResponse CatAliases(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Aliases(selector);
-
- [Obsolete("Moved to client.Cat.Aliases(), please update this usage.")]
- public static CatResponse CatAliases(this IElasticClient client, ICatAliasesRequest request)
- => client.Cat.Aliases(request);
-
- [Obsolete("Moved to client.Cat.AliasesAsync(), please update this usage.")]
- public static Task> CatAliasesAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.AliasesAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.AliasesAsync(), please update this usage.")]
- public static Task> CatAliasesAsync(this IElasticClient client, ICatAliasesRequest request,
- CancellationToken ct = default
- )
- => client.Cat.AliasesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatAllocation.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatAllocation.cs
deleted file mode 100644
index 0c9bcd6486a..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatAllocation.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Allocation(), please update this usage.")]
- public static CatResponse CatAllocation(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Allocation(selector);
-
- [Obsolete("Moved to client.Cat.Allocation(), please update this usage.")]
- public static CatResponse CatAllocation(this IElasticClient client, ICatAllocationRequest request)
- => client.Cat.Allocation(request);
-
- [Obsolete("Moved to client.Cat.AllocationAsync(), please update this usage.")]
- public static Task> CatAllocationAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.AllocationAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.AllocationAsync(), please update this usage.")]
- public static Task> CatAllocationAsync(this IElasticClient client, ICatAllocationRequest request,
- CancellationToken ct = default
- )
- => client.Cat.AllocationAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatCount.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatCount.cs
deleted file mode 100644
index 48db376af5e..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatCount.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Count(), please update this usage.")]
- public static CatResponse CatCount(this IElasticClient client, Func selector = null)
- => client.Cat.Count(selector);
-
- [Obsolete("Moved to client.Cat.Count(), please update this usage.")]
- public static CatResponse CatCount(this IElasticClient client, ICatCountRequest request)
- => client.Cat.Count(request);
-
- [Obsolete("Moved to client.Cat.CountAsync(), please update this usage.")]
- public static Task> CatCountAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.CountAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.CountAsync(), please update this usage.")]
- public static Task> CatCountAsync(this IElasticClient client, ICatCountRequest request,
- CancellationToken ct = default
- )
- => client.Cat.CountAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatFielddata.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatFielddata.cs
deleted file mode 100644
index 8b93a4a6f3c..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatFielddata.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Fielddata(), please update this usage.")]
- public static CatResponse CatFielddata(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Fielddata(selector);
-
- [Obsolete("Moved to client.Cat.Fielddata(), please update this usage.")]
- public static CatResponse CatFielddata(this IElasticClient client, ICatFielddataRequest request)
- => client.Cat.Fielddata(request);
-
- [Obsolete("Moved to client.Cat.FielddataAsync(), please update this usage.")]
- public static Task> CatFielddataAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.FielddataAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.FielddataAsync(), please update this usage.")]
- public static Task> CatFielddataAsync(this IElasticClient client, ICatFielddataRequest request,
- CancellationToken ct = default
- )
- => client.Cat.FielddataAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatHealth.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatHealth.cs
deleted file mode 100644
index f08ba4f941c..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatHealth.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Health(), please update this usage.")]
- public static CatResponse CatHealth(this IElasticClient client, Func selector = null)
- => client.Cat.Health(selector);
-
- [Obsolete("Moved to client.Cat.Health(), please update this usage.")]
- public static CatResponse CatHealth(this IElasticClient client, ICatHealthRequest request)
- => client.Cat.Health(request);
-
- [Obsolete("Moved to client.Cat.HealthAsync(), please update this usage.")]
- public static Task> CatHealthAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.HealthAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.HealthAsync(), please update this usage.")]
- public static Task> CatHealthAsync(this IElasticClient client, ICatHealthRequest request,
- CancellationToken ct = default
- )
- => client.Cat.HealthAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatHelp.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatHelp.cs
deleted file mode 100644
index 2a555276de6..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatHelp.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Help(), please update this usage.")]
- public static CatResponse CatHelp(this IElasticClient client, Func selector = null)
- => client.Cat.Help(selector);
-
- [Obsolete("Moved to client.Cat.Help(), please update this usage.")]
- public static CatResponse CatHelp(this IElasticClient client, ICatHelpRequest request)
- => client.Cat.Help(request);
-
- [Obsolete("Moved to client.Cat.HelpAsync(), please update this usage.")]
- public static Task> CatHelpAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.HelpAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.HelpAsync(), please update this usage.")]
- public static Task> CatHelpAsync(this IElasticClient client, ICatHelpRequest request,
- CancellationToken ct = default
- )
- => client.Cat.HelpAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatIndices.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatIndices.cs
deleted file mode 100644
index 4b69ff84430..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatIndices.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Indices(), please update this usage.")]
- public static CatResponse CatIndices(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Indices(selector);
-
- [Obsolete("Moved to client.Cat.Indices(), please update this usage.")]
- public static CatResponse CatIndices(this IElasticClient client, ICatIndicesRequest request)
- => client.Cat.Indices(request);
-
- [Obsolete("Moved to client.Cat.IndicesAsync(), please update this usage.")]
- public static Task> CatIndicesAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.IndicesAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.IndicesAsync(), please update this usage.")]
- public static Task> CatIndicesAsync(this IElasticClient client, ICatIndicesRequest request,
- CancellationToken ct = default
- )
- => client.Cat.IndicesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatMaster.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatMaster.cs
deleted file mode 100644
index fddb569a9fa..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatMaster.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Master(), please update this usage.")]
- public static CatResponse CatMaster(this IElasticClient client, Func selector = null)
- => client.Cat.Master(selector);
-
- [Obsolete("Moved to client.Cat.Master(), please update this usage.")]
- public static CatResponse CatMaster(this IElasticClient client, ICatMasterRequest request)
- => client.Cat.Master(request);
-
- [Obsolete("Moved to client.Cat.MasterAsync(), please update this usage.")]
- public static Task> CatMasterAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.MasterAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.MasterAsync(), please update this usage.")]
- public static Task> CatMasterAsync(this IElasticClient client, ICatMasterRequest request,
- CancellationToken ct = default
- )
- => client.Cat.MasterAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatNodeAttributes.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatNodeAttributes.cs
deleted file mode 100644
index 22b8d50b86b..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatNodeAttributes.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.NodeAttributes(), please update this usage.")]
- public static CatResponse CatNodeAttributes(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.NodeAttributes(selector);
-
- [Obsolete("Moved to client.Cat.NodeAttributes(), please update this usage.")]
- public static CatResponse CatNodeAttributes(this IElasticClient client, ICatNodeAttributesRequest request)
- => client.Cat.NodeAttributes(request);
-
- [Obsolete("Moved to client.Cat.NodeAttributesAsync(), please update this usage.")]
- public static Task> CatNodeAttributesAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.NodeAttributesAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.NodeAttributesAsync(), please update this usage.")]
- public static Task> CatNodeAttributesAsync(this IElasticClient client, ICatNodeAttributesRequest request,
- CancellationToken ct = default
- )
- => client.Cat.NodeAttributesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatNodes.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatNodes.cs
deleted file mode 100644
index 8ea2e92608f..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatNodes.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Nodes(), please update this usage.")]
- public static CatResponse CatNodes(this IElasticClient client, Func selector = null)
- => client.Cat.Nodes(selector);
-
- [Obsolete("Moved to client.Cat.Nodes(), please update this usage.")]
- public static CatResponse CatNodes(this IElasticClient client, ICatNodesRequest request)
- => client.Cat.Nodes(request);
-
- [Obsolete("Moved to client.Cat.NodesAsync(), please update this usage.")]
- public static Task> CatNodesAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.NodesAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.NodesAsync(), please update this usage.")]
- public static Task> CatNodesAsync(this IElasticClient client, ICatNodesRequest request,
- CancellationToken ct = default
- )
- => client.Cat.NodesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatPendingTasks.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatPendingTasks.cs
deleted file mode 100644
index d0b4a580af6..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatPendingTasks.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.PendingTasks(), please update this usage.")]
- public static CatResponse CatPendingTasks(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.PendingTasks(selector);
-
- [Obsolete("Moved to client.Cat.PendingTasks(), please update this usage.")]
- public static CatResponse CatPendingTasks(this IElasticClient client, ICatPendingTasksRequest request)
- => client.Cat.PendingTasks(request);
-
- [Obsolete("Moved to client.Cat.PendingTasksAsync(), please update this usage.")]
- public static Task> CatPendingTasksAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.PendingTasksAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.PendingTasksAsync(), please update this usage.")]
- public static Task> CatPendingTasksAsync(this IElasticClient client, ICatPendingTasksRequest request,
- CancellationToken ct = default
- )
- => client.Cat.PendingTasksAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatPlugins.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatPlugins.cs
deleted file mode 100644
index 048c23d6206..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatPlugins.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Plugins(), please update this usage.")]
- public static CatResponse CatPlugins(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Plugins(selector);
-
- [Obsolete("Moved to client.Cat.Plugins(), please update this usage.")]
- public static CatResponse CatPlugins(this IElasticClient client, ICatPluginsRequest request)
- => client.Cat.Plugins(request);
-
- [Obsolete("Moved to client.Cat.PluginsAsync(), please update this usage.")]
- public static Task> CatPluginsAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.PluginsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.PluginsAsync(), please update this usage.")]
- public static Task> CatPluginsAsync(this IElasticClient client, ICatPluginsRequest request,
- CancellationToken ct = default
- )
- => client.Cat.PluginsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatRecovery.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatRecovery.cs
deleted file mode 100644
index 04b9717b4aa..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatRecovery.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Recovery(), please update this usage.")]
- public static CatResponse CatRecovery(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Recovery(selector);
-
- [Obsolete("Moved to client.Cat.Recovery(), please update this usage.")]
- public static CatResponse CatRecovery(this IElasticClient client, ICatRecoveryRequest request)
- => client.Cat.Recovery(request);
-
- [Obsolete("Moved to client.Cat.RecoveryAsync(), please update this usage.")]
- public static Task> CatRecoveryAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.RecoveryAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.RecoveryAsync(), please update this usage.")]
- public static Task> CatRecoveryAsync(this IElasticClient client, ICatRecoveryRequest request,
- CancellationToken ct = default
- )
- => client.Cat.RecoveryAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatRepositories.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatRepositories.cs
deleted file mode 100644
index 10607dfe1f0..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatRepositories.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Repositories(), please update this usage.")]
- public static CatResponse CatRepositories(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Repositories(selector);
-
- [Obsolete("Moved to client.Cat.Repositories(), please update this usage.")]
- public static CatResponse CatRepositories(this IElasticClient client, ICatRepositoriesRequest request)
- => client.Cat.Repositories(request);
-
- [Obsolete("Moved to client.Cat.RepositoriesAsync(), please update this usage.")]
- public static Task> CatRepositoriesAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.RepositoriesAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.RepositoriesAsync(), please update this usage.")]
- public static Task> CatRepositoriesAsync(this IElasticClient client, ICatRepositoriesRequest request,
- CancellationToken ct = default
- )
- => client.Cat.RepositoriesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatSegments.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatSegments.cs
deleted file mode 100644
index 2cf4f2faf8a..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatSegments.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Segments(), please update this usage.")]
- public static CatResponse CatSegments(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Segments(selector);
-
- [Obsolete("Moved to client.Cat.Segments(), please update this usage.")]
- public static CatResponse CatSegments(this IElasticClient client, ICatSegmentsRequest request)
- => client.Cat.Segments(request);
-
- [Obsolete("Moved to client.Cat.SegmentsAsync(), please update this usage.")]
- public static Task> CatSegmentsAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.SegmentsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.SegmentsAsync(), please update this usage.")]
- public static Task> CatSegmentsAsync(this IElasticClient client, ICatSegmentsRequest request,
- CancellationToken ct = default
- )
- => client.Cat.SegmentsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatShards.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatShards.cs
deleted file mode 100644
index b8d9f123d6c..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatShards.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Shards(), please update this usage.")]
- public static CatResponse CatShards(this IElasticClient client, Func selector = null)
- => client.Cat.Shards(selector);
-
- [Obsolete("Moved to client.Cat.Shards(), please update this usage.")]
- public static CatResponse CatShards(this IElasticClient client, ICatShardsRequest request)
- => client.Cat.Shards(request);
-
- [Obsolete("Moved to client.Cat.ShardsAsync(), please update this usage.")]
- public static Task> CatShardsAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.ShardsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.ShardsAsync(), please update this usage.")]
- public static Task> CatShardsAsync(this IElasticClient client, ICatShardsRequest request,
- CancellationToken ct = default
- )
- => client.Cat.ShardsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatSnapshots.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatSnapshots.cs
deleted file mode 100644
index 30bb79f6efa..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatSnapshots.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Snapshots(), please update this usage.")]
- public static CatResponse CatSnapshots(this IElasticClient client, Names repositories,
- Func selector = null
- )
- => client.Cat.Snapshots(selector);
-
- [Obsolete("Moved to client.Cat.Snapshots(), please update this usage.")]
- public static CatResponse CatSnapshots(this IElasticClient client, ICatSnapshotsRequest request)
- => client.Cat.Snapshots(request);
-
- [Obsolete("Moved to client.Cat.SnapshotsAsync(), please update this usage.")]
- public static Task> CatSnapshotsAsync(this IElasticClient client,
- Names repositories,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.SnapshotsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.SnapshotsAsync(), please update this usage.")]
- public static Task> CatSnapshotsAsync(this IElasticClient client, ICatSnapshotsRequest request,
- CancellationToken ct = default
- )
- => client.Cat.SnapshotsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatTasks.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatTasks.cs
deleted file mode 100644
index 021ca0397d7..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatTasks.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Tasks(), please update this usage.")]
- public static CatResponse CatTasks(this IElasticClient client, Func selector = null)
- => client.Cat.Tasks(selector);
-
- [Obsolete("Moved to client.Cat.Tasks(), please update this usage.")]
- public static CatResponse CatTasks(this IElasticClient client, ICatTasksRequest request)
- => client.Cat.Tasks(request);
-
- [Obsolete("Moved to client.Cat.TasksAsync(), please update this usage.")]
- public static Task> CatTasksAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.TasksAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.TasksAsync(), please update this usage.")]
- public static Task> CatTasksAsync(this IElasticClient client, ICatTasksRequest request,
- CancellationToken ct = default
- )
- => client.Cat.TasksAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatTemplates.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatTemplates.cs
deleted file mode 100644
index 071658b1f52..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatTemplates.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.Templates(), please update this usage.")]
- public static CatResponse CatTemplates(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.Templates(selector);
-
- [Obsolete("Moved to client.Cat.Templates(), please update this usage.")]
- public static CatResponse CatTemplates(this IElasticClient client, ICatTemplatesRequest request)
- => client.Cat.Templates(request);
-
- [Obsolete("Moved to client.Cat.TemplatesAsync(), please update this usage.")]
- public static Task> CatTemplatesAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.TemplatesAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.TemplatesAsync(), please update this usage.")]
- public static Task> CatTemplatesAsync(this IElasticClient client, ICatTemplatesRequest request,
- CancellationToken ct = default
- )
- => client.Cat.TemplatesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CatThreadpool.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CatThreadpool.cs
deleted file mode 100644
index 893c2e4cf8a..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CatThreadpool.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cat.ThreadPool(), please update this usage.")]
- public static CatResponse CatThreadPool(this IElasticClient client,
- Func selector = null
- )
- => client.Cat.ThreadPool(selector);
-
- [Obsolete("Moved to client.Cat.ThreadPool(), please update this usage.")]
- public static CatResponse CatThreadPool(this IElasticClient client, ICatThreadPoolRequest request)
- => client.Cat.ThreadPool(request);
-
- [Obsolete("Moved to client.Cat.ThreadPoolAsync(), please update this usage.")]
- public static Task> CatThreadPoolAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cat.ThreadPoolAsync(selector, ct);
-
- [Obsolete("Moved to client.Cat.ThreadPoolAsync(), please update this usage.")]
- public static Task> CatThreadPoolAsync(this IElasticClient client, ICatThreadPoolRequest request,
- CancellationToken ct = default
- )
- => client.Cat.ThreadPoolAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CcrStats.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CcrStats.cs
deleted file mode 100644
index abf4a222212..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CcrStats.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.CrossClusterReplication.Stats(), please update this usage.")]
- public static CcrStatsResponse CcrStats(this IElasticClient client, Func selector = null)
- => client.CrossClusterReplication.Stats(selector);
-
- [Obsolete("Moved to client.CrossClusterReplication.Stats(), please update this usage.")]
- public static CcrStatsResponse CcrStats(this IElasticClient client, ICcrStatsRequest request)
- => client.CrossClusterReplication.Stats(request);
-
- [Obsolete("Moved to client.CrossClusterReplication.StatsAsync(), please update this usage.")]
- public static Task CcrStatsAsync(this IElasticClient client, Func selector = null,
- CancellationToken ct = default
- )
- => client.CrossClusterReplication.StatsAsync(selector, ct);
-
- [Obsolete("Moved to client.CrossClusterReplication.StatsAsync(), please update this usage.")]
- public static Task CcrStatsAsync(this IElasticClient client, ICcrStatsRequest request, CancellationToken ct = default)
- => client.CrossClusterReplication.StatsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ChangePassword.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ChangePassword.cs
deleted file mode 100644
index 0e6868bd8ad..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ChangePassword.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Security.ChangePassword(), please update this usage.")]
- public static ChangePasswordResponse ChangePassword(this IElasticClient client,
- Func selector
- )
- => client.Security.ChangePassword(selector);
-
- [Obsolete("Moved to client.Security.ChangePassword(), please update this usage.")]
- public static ChangePasswordResponse ChangePassword(this IElasticClient client, IChangePasswordRequest request)
- => client.Security.ChangePassword(request);
-
- [Obsolete("Moved to client.Security.ChangePasswordAsync(), please update this usage.")]
- public static Task ChangePasswordAsync(this IElasticClient client,
- Func selector,
- CancellationToken ct = default
- )
- => client.Security.ChangePasswordAsync(selector, ct);
-
- [Obsolete("Moved to client.Security.ChangePasswordAsync(), please update this usage.")]
- public static Task ChangePasswordAsync(this IElasticClient client, IChangePasswordRequest request,
- CancellationToken ct = default
- )
- => client.Security.ChangePasswordAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCache.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCache.cs
deleted file mode 100644
index 1c674505d79..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCache.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.ClearCache(), please update this usage.")]
- public static ClearCacheResponse ClearCache(this IElasticClient client, Indices indices,
- Func selector = null
- )
- => client.Indices.ClearCache(indices, selector);
-
- [Obsolete("Moved to client.Indices.ClearCache(), please update this usage.")]
- public static ClearCacheResponse ClearCache(this IElasticClient client, IClearCacheRequest request)
- => client.Indices.ClearCache(request);
-
- [Obsolete("Moved to client.Indices.ClearCacheAsync(), please update this usage.")]
- public static Task ClearCacheAsync(this IElasticClient client,
- Indices indices,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Indices.ClearCacheAsync(indices, selector, ct);
-
- [Obsolete("Moved to client.Indices.ClearCacheAsync(), please update this usage.")]
- public static Task ClearCacheAsync(this IElasticClient client, IClearCacheRequest request, CancellationToken ct = default)
- => client.Indices.ClearCacheAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCachedRealms.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCachedRealms.cs
deleted file mode 100644
index 635c507cca1..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCachedRealms.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Security.ClearCachedRealms(), please update this usage.")]
- public static ClearCachedRealmsResponse ClearCachedRealms(this IElasticClient client, Names realms,
- Func selector = null
- )
- => client.Security.ClearCachedRealms(realms, selector);
-
- [Obsolete("Moved to client.Security.ClearCachedRealms(), please update this usage.")]
- public static ClearCachedRealmsResponse ClearCachedRealms(this IElasticClient client, IClearCachedRealmsRequest request)
- => client.Security.ClearCachedRealms(request);
-
- [Obsolete("Moved to client.Security.ClearCachedRealmsAsync(), please update this usage.")]
- public static Task ClearCachedRealmsAsync(this IElasticClient client, Names realms,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Security.ClearCachedRealmsAsync(realms, selector, ct);
-
- [Obsolete("Moved to client.Security.ClearCachedRealmsAsync(), please update this usage.")]
- public static Task ClearCachedRealmsAsync(this IElasticClient client, IClearCachedRealmsRequest request,
- CancellationToken ct = default
- )
- => client.Security.ClearCachedRealmsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCachedRoles.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCachedRoles.cs
deleted file mode 100644
index 3f7bb413d48..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearCachedRoles.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Security.ClearCachedRoles(), please update this usage.")]
- public static ClearCachedRolesResponse ClearCachedRoles(this IElasticClient client, Names roles,
- Func selector = null
- )
- => client.Security.ClearCachedRoles(roles, selector);
-
- [Obsolete("Moved to client.Security.ClearCachedRoles(), please update this usage.")]
- public static ClearCachedRolesResponse ClearCachedRoles(this IElasticClient client, IClearCachedRolesRequest request)
- => client.Security.ClearCachedRoles(request);
-
- [Obsolete("Moved to client.Security.ClearCachedRolesAsync(), please update this usage.")]
- public static Task ClearCachedRolesAsync(this IElasticClient client, Names roles,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Security.ClearCachedRolesAsync(roles, selector, ct);
-
- [Obsolete("Moved to client.Security.ClearCachedRolesAsync(), please update this usage.")]
- public static Task ClearCachedRolesAsync(this IElasticClient client, IClearCachedRolesRequest request,
- CancellationToken ct = default
- )
- => client.Security.ClearCachedRolesAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearSqlCursor.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClearSqlCursor.cs
deleted file mode 100644
index d1e9d87d0e7..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClearSqlCursor.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Sql.ClearCursor(), please update this usage.")]
- public static ClearSqlCursorResponse ClearSqlCursor(this IElasticClient client,
- Func selector = null
- )
- => client.Sql.ClearCursor(selector);
-
- [Obsolete("Moved to client.Sql.ClearCursor(), please update this usage.")]
- public static ClearSqlCursorResponse ClearSqlCursor(this IElasticClient client, IClearSqlCursorRequest request)
- => client.Sql.ClearCursor(request);
-
- [Obsolete("Moved to client.Sql.ClearCursorAsync(), please update this usage.")]
- public static Task ClearSqlCursorAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Sql.ClearCursorAsync(selector, ct);
-
- [Obsolete("Moved to client.Sql.ClearCursorAsync(), please update this usage.")]
- public static Task ClearSqlCursorAsync(this IElasticClient client, IClearSqlCursorRequest request,
- CancellationToken ct = default
- )
- => client.Sql.ClearCursorAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CloseIndex.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CloseIndex.cs
deleted file mode 100644
index fc37e92e1ce..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CloseIndex.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.Close(), please update this usage.")]
- public static CloseIndexResponse CloseIndex(this IElasticClient client, Indices indices,
- Func selector = null
- )
- => client.Indices.Close(indices, selector);
-
- [Obsolete("Moved to client.Indices.Close(), please update this usage.")]
- public static CloseIndexResponse CloseIndex(this IElasticClient client, ICloseIndexRequest request)
- => client.Indices.Close(request);
-
- [Obsolete("Moved to client.Indices.CloseAsync(), please update this usage.")]
- public static Task CloseIndexAsync(this IElasticClient client,
- Indices indices,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Indices.CloseAsync(indices, selector, ct);
-
- [Obsolete("Moved to client.Indices.CloseAsync(), please update this usage.")]
- public static Task CloseIndexAsync(this IElasticClient client, ICloseIndexRequest request, CancellationToken ct = default)
- => client.Indices.CloseAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CloseJob.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CloseJob.cs
deleted file mode 100644
index 3a21b71f7e1..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CloseJob.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.MachineLearning.CloseJob(), please update this usage.")]
- public static CloseJobResponse CloseJob(this IElasticClient client, Id jobId, Func selector = null)
- => client.MachineLearning.CloseJob(jobId, selector);
-
- [Obsolete("Moved to client.MachineLearning.CloseJob(), please update this usage.")]
- public static CloseJobResponse CloseJob(this IElasticClient client, ICloseJobRequest request)
- => client.MachineLearning.CloseJob(request);
-
- [Obsolete("Moved to client.MachineLearning.CloseJobAsync(), please update this usage.")]
- public static Task CloseJobAsync(this IElasticClient client, Id jobId,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.MachineLearning.CloseJobAsync(jobId, selector, ct);
-
- [Obsolete("Moved to client.MachineLearning.CloseJobAsync(), please update this usage.")]
- public static Task CloseJobAsync(this IElasticClient client, ICloseJobRequest request, CancellationToken ct = default)
- => client.MachineLearning.CloseJobAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterAllocationExplain.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterAllocationExplain.cs
deleted file mode 100644
index fdda7d316e5..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterAllocationExplain.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.AllocationExplain(), please update this usage.")]
- public static ClusterAllocationExplainResponse ClusterAllocationExplain(this IElasticClient client,
- Func selector = null
- )
- => client.Cluster.AllocationExplain(selector);
-
- [Obsolete("Moved to client.Cluster.AllocationExplain(), please update this usage.")]
- public static ClusterAllocationExplainResponse ClusterAllocationExplain(this IElasticClient client, IClusterAllocationExplainRequest request)
- => client.Cluster.AllocationExplain(request);
-
- [Obsolete("Moved to client.Cluster.AllocationExplainAsync(), please update this usage.")]
- public static Task ClusterAllocationExplainAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cluster.AllocationExplainAsync(selector, ct);
-
- [Obsolete("Moved to client.Cluster.AllocationExplainAsync(), please update this usage.")]
- public static Task ClusterAllocationExplainAsync(this IElasticClient client,
- IClusterAllocationExplainRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.AllocationExplainAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterGetSettings.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterGetSettings.cs
deleted file mode 100644
index 7f48aa31540..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterGetSettings.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.GetSettings(), please update this usage.")]
- public static ClusterGetSettingsResponse ClusterGetSettings(this IElasticClient client,
- Func selector = null
- )
- => client.Cluster.GetSettings(selector);
-
- [Obsolete("Moved to client.Cluster.GetSettingsAsync(), please update this usage.")]
- public static Task ClusterGetSettingsAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cluster.GetSettingsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cluster.GetSettings(), please update this usage.")]
- public static ClusterGetSettingsResponse ClusterGetSettings(this IElasticClient client, IClusterGetSettingsRequest request)
- => client.Cluster.GetSettings(request);
-
- [Obsolete("Moved to client.Cluster.GetSettingsAsync(), please update this usage.")]
- public static Task ClusterGetSettingsAsync(this IElasticClient client, IClusterGetSettingsRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.GetSettingsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterHealth.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterHealth.cs
deleted file mode 100644
index 8a98e24f1f0..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterHealth.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.Health(), please update this usage.")]
- public static ClusterHealthResponse ClusterHealth(this IElasticClient client,
- Func selector = null
- )
- => client.Cluster.Health(Indices.All, selector);
-
- [Obsolete("Moved to client.Cluster.Health(), please update this usage.")]
- public static ClusterHealthResponse ClusterHealth(this IElasticClient client, IClusterHealthRequest request)
- => client.Cluster.Health(request);
-
- [Obsolete("Moved to client.Cluster.HealthAsync(), please update this usage.")]
- public static Task ClusterHealthAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cluster.HealthAsync(Indices.All, selector, ct);
-
- [Obsolete("Moved to client.Cluster.HealthAsync(), please update this usage.")]
- public static Task ClusterHealthAsync(this IElasticClient client, IClusterHealthRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.HealthAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterPendingTasks.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterPendingTasks.cs
deleted file mode 100644
index 175442de767..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterPendingTasks.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.PendingTasks(), please update this usage.")]
- public static ClusterPendingTasksResponse ClusterPendingTasks(this IElasticClient client,
- Func selector = null
- )
- => client.Cluster.PendingTasks(selector);
-
- [Obsolete("Moved to client.Cluster.PendingTasksAsync(), please update this usage.")]
- public static Task ClusterPendingTasksAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cluster.PendingTasksAsync(selector, ct);
-
- [Obsolete("Moved to client.Cluster.PendingTasks(), please update this usage.")]
- public static ClusterPendingTasksResponse ClusterPendingTasks(this IElasticClient client, IClusterPendingTasksRequest request)
- => client.Cluster.PendingTasks(request);
-
- [Obsolete("Moved to client.Cluster.PendingTasksAsync(), please update this usage.")]
- public static Task ClusterPendingTasksAsync(this IElasticClient client, IClusterPendingTasksRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.PendingTasksAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterPutSettings.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterPutSettings.cs
deleted file mode 100644
index cce4dc9bd65..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterPutSettings.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.PutSettings(), please update this usage.")]
- public static ClusterPutSettingsResponse ClusterPutSettings(this IElasticClient client,
- Func selector
- )
- => client.Cluster.PutSettings(selector);
-
- [Obsolete("Moved to client.Cluster.PutSettingsAsync(), please update this usage.")]
- public static Task ClusterPutSettingsAsync(this IElasticClient client,
- Func selector,
- CancellationToken ct = default
- )
- => client.Cluster.PutSettingsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cluster.PutSettings(), please update this usage.")]
- public static ClusterPutSettingsResponse ClusterPutSettings(this IElasticClient client, IClusterPutSettingsRequest request)
- => client.Cluster.PutSettings(request);
-
- [Obsolete("Moved to client.Cluster.PutSettingsAsync(), please update this usage.")]
- public static Task ClusterPutSettingsAsync(this IElasticClient client, IClusterPutSettingsRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.PutSettingsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterReroute.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterReroute.cs
deleted file mode 100644
index 5f57624cb5c..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterReroute.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.Reroute(), please update this usage.")]
- public static ClusterRerouteResponse ClusterReroute(this IElasticClient client,
- Func selector
- )
- => client.Cluster.Reroute(selector);
-
- [Obsolete("Moved to client.Cluster.RerouteAsync(), please update this usage.")]
- public static Task ClusterRerouteAsync(this IElasticClient client,
- Func selector,
- CancellationToken ct = default
- )
- => client.Cluster.RerouteAsync(selector, ct);
-
- [Obsolete("Moved to client.Cluster.Reroute(), please update this usage.")]
- public static ClusterRerouteResponse ClusterReroute(this IElasticClient client, IClusterRerouteRequest request)
- => client.Cluster.Reroute(request);
-
- [Obsolete("Moved to client.Cluster.RerouteAsync(), please update this usage.")]
- public static Task ClusterRerouteAsync(this IElasticClient client, IClusterRerouteRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.RerouteAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterState.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterState.cs
deleted file mode 100644
index 753ddfeb1a0..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterState.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.State(), please update this usage.")]
- public static ClusterStateResponse ClusterState(this IElasticClient client, Func selector = null
- )
- => client.Cluster.State(Indices.All, selector);
-
- [Obsolete("Moved to client.Cluster.State(), please update this usage.")]
- public static ClusterStateResponse ClusterState(this IElasticClient client, IClusterStateRequest request)
- => client.Cluster.State(request);
-
- [Obsolete("Moved to client.Cluster.StateAsync(), please update this usage.")]
- public static Task ClusterStateAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cluster.StateAsync(Indices.All, selector, ct);
-
- [Obsolete("Moved to client.Cluster.StateAsync(), please update this usage.")]
- public static Task ClusterStateAsync(this IElasticClient client, IClusterStateRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.StateAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterStats.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterStats.cs
deleted file mode 100644
index 038e817d585..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-ClusterStats.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Cluster.Stats(), please update this usage.")]
- public static ClusterStatsResponse ClusterStats(this IElasticClient client, Func selector = null
- )
- => client.Cluster.Stats(selector);
-
- [Obsolete("Moved to client.Cluster.StatsAsync(), please update this usage.")]
- public static Task ClusterStatsAsync(this IElasticClient client,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Cluster.StatsAsync(selector, ct);
-
- [Obsolete("Moved to client.Cluster.Stats(), please update this usage.")]
- public static ClusterStatsResponse ClusterStats(this IElasticClient client, IClusterStatsRequest request)
- => client.Cluster.Stats(request);
-
- [Obsolete("Moved to client.Cluster.StatsAsync(), please update this usage.")]
- public static Task ClusterStatsAsync(this IElasticClient client, IClusterStatsRequest request,
- CancellationToken ct = default
- )
- => client.Cluster.StatsAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateAutoFollowPattern.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CreateAutoFollowPattern.cs
deleted file mode 100644
index 8112f714fad..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateAutoFollowPattern.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.CrossClusterReplication.CreateAutoFollowPattern(), please update this usage.")]
- public static CreateAutoFollowPatternResponse CreateAutoFollowPattern(this IElasticClient client, Name name,
- Func selector
- )
- => client.CrossClusterReplication.CreateAutoFollowPattern(name, selector);
-
- [Obsolete("Moved to client.CrossClusterReplication.CreateAutoFollowPattern(), please update this usage.")]
- public static CreateAutoFollowPatternResponse CreateAutoFollowPattern(this IElasticClient client, ICreateAutoFollowPatternRequest request)
- => client.CrossClusterReplication.CreateAutoFollowPattern(request);
-
- [Obsolete("Moved to client.CrossClusterReplication.CreateAutoFollowPatternAsync(), please update this usage.")]
- public static Task CreateAutoFollowPatternAsync(this IElasticClient client, Name name,
- Func selector,
- CancellationToken ct = default
- )
- => client.CrossClusterReplication.CreateAutoFollowPatternAsync(name, selector, ct);
-
- [Obsolete("Moved to client.CrossClusterReplication.CreateAutoFollowPatternAsync(), please update this usage.")]
- public static Task CreateAutoFollowPatternAsync(this IElasticClient client,
- ICreateAutoFollowPatternRequest request, CancellationToken ct = default
- )
- => client.CrossClusterReplication.CreateAutoFollowPatternAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateFollowIndex.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CreateFollowIndex.cs
deleted file mode 100644
index ba521e7f49d..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateFollowIndex.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.CrossClusterReplication.CreateFollowIndex(), please update this usage.")]
- public static CreateFollowIndexResponse CreateFollowIndex(this IElasticClient client, IndexName index,
- Func selector
- )
- => client.CrossClusterReplication.CreateFollowIndex(index, selector);
-
- [Obsolete("Moved to client.CrossClusterReplication.CreateFollowIndex(), please update this usage.")]
- public static CreateFollowIndexResponse CreateFollowIndex(this IElasticClient client, ICreateFollowIndexRequest request)
- => client.CrossClusterReplication.CreateFollowIndex(request);
-
- [Obsolete("Moved to client.CrossClusterReplication.CreateFollowIndexAsync(), please update this usage.")]
- public static Task CreateFollowIndexAsync(this IElasticClient client, IndexName index,
- Func selector,
- CancellationToken ct = default
- )
- => client.CrossClusterReplication.CreateFollowIndexAsync(index, selector, ct);
-
- [Obsolete("Moved to client.CrossClusterReplication.CreateFollowIndexAsync(), please update this usage.")]
- public static Task CreateFollowIndexAsync(this IElasticClient client, ICreateFollowIndexRequest request,
- CancellationToken ct = default
- )
- => client.CrossClusterReplication.CreateFollowIndexAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateIndex.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CreateIndex.cs
deleted file mode 100644
index ad551ee1496..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateIndex.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.Create(), please update this usage.")]
- public static CreateIndexResponse CreateIndex(this IElasticClient client, IndexName index,
- Func selector = null
- )
- => client.Indices.Create(index, selector);
-
- [Obsolete("Moved to client.Indices.Create(), please update this usage.")]
- public static CreateIndexResponse CreateIndex(this IElasticClient client, ICreateIndexRequest request)
- => client.Indices.Create(request);
-
- [Obsolete("Moved to client.Indices.CreateAsync(), please update this usage.")]
- public static Task CreateIndexAsync(this IElasticClient client,
- IndexName index,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Indices.CreateAsync(index, selector, ct);
-
- [Obsolete("Moved to client.Indices.CreateAsync(), please update this usage.")]
- public static Task CreateIndexAsync(this IElasticClient client, ICreateIndexRequest request,
- CancellationToken ct = default
- )
- => client.Indices.CreateAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateRepository.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CreateRepository.cs
deleted file mode 100644
index 2e46c647de8..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateRepository.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Snapshot.CreateRepository(), please update this usage.")]
- public static CreateRepositoryResponse CreateRepository(this IElasticClient client, Name repository,
- Func selector
- )
- => client.Snapshot.CreateRepository(repository, selector);
-
- [Obsolete("Moved to client.Snapshot.CreateRepository(), please update this usage.")]
- public static CreateRepositoryResponse CreateRepository(this IElasticClient client, ICreateRepositoryRequest request)
- => client.Snapshot.CreateRepository(request);
-
- [Obsolete("Moved to client.Snapshot.CreateRepositoryAsync(), please update this usage.")]
- public static Task CreateRepositoryAsync(this IElasticClient client, Name repository,
- Func selector,
- CancellationToken ct = default
- )
- => client.Snapshot.CreateRepositoryAsync(repository, selector, ct);
-
- [Obsolete("Moved to client.Snapshot.CreateRepositoryAsync(), please update this usage.")]
- public static Task CreateRepositoryAsync(this IElasticClient client, ICreateRepositoryRequest request,
- CancellationToken ct = default
- )
- => client.Snapshot.CreateRepositoryAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateRollupJob.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-CreateRollupJob.cs
deleted file mode 100644
index a2a175357c5..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-CreateRollupJob.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Rollup.CreateJob(), please update this usage.")]
- public static CreateRollupJobResponse CreateRollupJob(this IElasticClient client, Id id,
- Func, ICreateRollupJobRequest> selector
- )
- where T : class => client.Rollup.CreateJob(id, selector);
-
- [Obsolete("Moved to client.Rollup.CreateJob(), please update this usage.")]
- public static CreateRollupJobResponse CreateRollupJob(this IElasticClient client, ICreateRollupJobRequest request)
- => client.Rollup.CreateJob(request);
-
- [Obsolete("Moved to client.Rollup.CreateJobAsync(), please update this usage.")]
- public static Task CreateRollupJobAsync(this IElasticClient client, Id id,
- Func, ICreateRollupJobRequest> selector, CancellationToken ct = default
- )
- where T : class => client.Rollup.CreateJobAsync(id, selector, ct);
-
- [Obsolete("Moved to client.Rollup.CreateJobAsync(), please update this usage.")]
- public static Task CreateRollupJobAsync(this IElasticClient client, ICreateRollupJobRequest request,
- CancellationToken ct = default
- )
- => client.Rollup.CreateJobAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-DeactivateWatch.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-DeactivateWatch.cs
deleted file mode 100644
index e2a9d35f01e..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-DeactivateWatch.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Watcher.Deactivate(), please update this usage.")]
- public static DeactivateWatchResponse DeactivateWatch(this IElasticClient client, Id id,
- Func selector = null
- )
- => client.Watcher.Deactivate(id, selector);
-
- [Obsolete("Moved to client.Watcher.Deactivate(), please update this usage.")]
- public static DeactivateWatchResponse DeactivateWatch(this IElasticClient client, IDeactivateWatchRequest request)
- => client.Watcher.Deactivate(request);
-
- [Obsolete("Moved to client.Watcher.DeactivateAsync(), please update this usage.")]
- public static Task DeactivateWatchAsync(this IElasticClient client, Id id,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Watcher.DeactivateAsync(id, selector, ct);
-
- [Obsolete("Moved to client.Watcher.DeactivateAsync(), please update this usage.")]
- public static Task DeactivateWatchAsync(this IElasticClient client, IDeactivateWatchRequest request,
- CancellationToken ct = default
- )
- => client.Watcher.DeactivateAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteAlias.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteAlias.cs
deleted file mode 100644
index c15d5de18da..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteAlias.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.Indices.DeleteAlias(), please update this usage.")]
- public static DeleteAliasResponse DeleteAlias(this IElasticClient client, IDeleteAliasRequest request)
- => client.Indices.DeleteAlias(request);
-
- [Obsolete("Moved to client.Indices.DeleteAliasAsync(), please update this usage.")]
- public static Task DeleteAliasAsync(this IElasticClient client, IDeleteAliasRequest request,
- CancellationToken ct = default
- )
- => client.Indices.DeleteAliasAsync(request, ct);
-
- [Obsolete("Moved to client.Indices.DeleteAlias(), please update this usage.")]
- public static DeleteAliasResponse DeleteAlias(this IElasticClient client, Indices indices, Names names,
- Func selector = null
- )
- => client.Indices.DeleteAlias(indices, names, selector);
-
- [Obsolete("Moved to client.Indices.DeleteAliasAsync(), please update this usage.")]
- public static Task DeleteAliasAsync(this IElasticClient client,
- Indices indices,
- Names names,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.Indices.DeleteAliasAsync(indices, names, selector, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteAutoFollowPattern.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteAutoFollowPattern.cs
deleted file mode 100644
index 75240c0278e..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteAutoFollowPattern.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.CrossClusterReplication.DeleteAutoFollowPattern(), please update this usage.")]
- public static DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(this IElasticClient client, Name name,
- Func selector = null
- )
- => client.CrossClusterReplication.DeleteAutoFollowPattern(name, selector);
-
- [Obsolete("Moved to client.CrossClusterReplication.DeleteAutoFollowPattern(), please update this usage.")]
- public static DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(this IElasticClient client, IDeleteAutoFollowPatternRequest request)
- => client.CrossClusterReplication.DeleteAutoFollowPattern(request);
-
- [Obsolete("Moved to client.CrossClusterReplication.DeleteAutoFollowPatternAsync(), please update this usage.")]
- public static Task DeleteAutoFollowPatternAsync(this IElasticClient client, Name name,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.CrossClusterReplication.DeleteAutoFollowPatternAsync(name, selector, ct);
-
- [Obsolete("Moved to client.CrossClusterReplication.DeleteAutoFollowPatternAsync(), please update this usage.")]
- public static Task DeleteAutoFollowPatternAsync(this IElasticClient client,
- IDeleteAutoFollowPatternRequest request, CancellationToken ct = default
- )
- => client.CrossClusterReplication.DeleteAutoFollowPatternAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteCalendar.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteCalendar.cs
deleted file mode 100644
index 16b69b3bf5a..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteCalendar.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.MachineLearning.DeleteCalendar(), please update this usage.")]
- public static DeleteCalendarResponse DeleteCalendar(this IElasticClient client, Id calendarId,
- Func selector = null
- )
- => client.MachineLearning.DeleteCalendar(calendarId, selector);
-
- [Obsolete("Moved to client.MachineLearning.DeleteCalendar(), please update this usage.")]
- public static DeleteCalendarResponse DeleteCalendar(this IElasticClient client, IDeleteCalendarRequest request)
- => client.MachineLearning.DeleteCalendar(request);
-
- [Obsolete("Moved to client.MachineLearning.DeleteCalendarAsync(), please update this usage.")]
- public static Task DeleteCalendarAsync(this IElasticClient client, Id calendarId,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.MachineLearning.DeleteCalendarAsync(calendarId, selector, ct);
-
- [Obsolete("Moved to client.MachineLearning.DeleteCalendarAsync(), please update this usage.")]
- public static Task DeleteCalendarAsync(this IElasticClient client, IDeleteCalendarRequest request,
- CancellationToken ct = default
- )
- => client.MachineLearning.DeleteCalendarAsync(request, ct);
- }
-}
diff --git a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteCalendarEvent.cs b/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteCalendarEvent.cs
deleted file mode 100644
index ec24db3f7ad..00000000000
--- a/src/Nest.7xUpgradeAssistant/ElasticClient-DeleteCalendarEvent.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Nest
-{
- public static partial class ElasticClientExtensions
- {
- [Obsolete("Moved to client.MachineLearning.DeleteCalendarEvent(), please update this usage.")]
- public static DeleteCalendarEventResponse DeleteCalendarEvent(this IElasticClient client, Id calendarId, Id eventId,
- Func selector = null
- )
- => client.MachineLearning.DeleteCalendarEvent(calendarId, eventId, selector);
-
- [Obsolete("Moved to client.MachineLearning.DeleteCalendarEvent(), please update this usage.")]
- public static DeleteCalendarEventResponse DeleteCalendarEvent(this IElasticClient client, IDeleteCalendarEventRequest request)
- => client.MachineLearning.DeleteCalendarEvent(request);
-
- [Obsolete("Moved to client.MachineLearning.DeleteCalendarEventAsync(), please update this usage.")]
- public static Task DeleteCalendarEventAsync(this IElasticClient client, Id calendarId, Id eventId,
- Func selector = null,
- CancellationToken ct = default
- )
- => client.MachineLearning.DeleteCalendarEventAsync(calendarId, eventId, selector, ct);
-
- [Obsolete("Moved to client.MachineLearning.DeleteCalendarEventAsync(), please update this usage.")]
- public static Task