- Upgrading OpenSearch.Net & OpenSearch.Client
- 1.x.y to 2.0.0
- OpenSearch.Net
- General
- Bulk Action
- DeleteByQuery Action
- ReindexOnServer Action
- Search Action
- UpdateByQuery Action
- Cat.Help Action
- Cat.Indices Action
- Cat.Master Action
- Cat.Plugins Action
- Cat.Recovery Action
- Cluster.ExistsComponentTemplate Action
- Cluster.Health Action
- Cluster.PostVotingConfigExclusions Action
- Cluster.Reroute Action
- Features Namespace
- Indices.AddBlock Action
- Indices.Analyze Action
- Indices.ClearCache Action
- Indices.DeleteTemplateV2 Action
- Indices.ExistsTemplate Action
- Indices.GetTemplateV2 Action
- Indices.PutTemplateV2 Action
- Indices.ShardStores Action
- Indices.Stats Action
- Nodes.HotThreads Action
- Nodes.Stats Action
- Snapshot.CleanupRepository Action
- Tasks.List Action
- OpenSearch.Client
- General
- Bulk Action
- UpdateByQuery Action
- Cat.Help Action
- Cat.Indices Action
- Cat.Master Action
- Cat.Plugins Action
- Cluster.GetComponentTemplate Action
- Cluster.Health Action
- Cluster.PostVotingConfigExclusions Action
- Cluster.Reroute Action
- Cluster.Stats Action
- Indices.GetComposableTemplate Action
- Nodes.HotThreads Action
- Nodes.Stats Action
- Tasks.List Action
- OpenSearch.Net
- 1.x.y to 2.0.0
- Support for .NET Framework v4.6.1 has been removed, if you have a .NET Framework based project it is recommended to upgrade the project to target .NET Framework v4.7.2 or higher.
- The
MasterTimeSpanout&ClusterManagerTimeSpanoutparameters on all actions have been corrected toMasterTimeoutandClusterManagerTimeoutrespectively. - The
MasterTimeoutparameters on all actions have been marked[Obsolete], please migrate to usingClusterManagerTimeoutif your OpenSearch cluster is at least version2.0.0asMasterTimeoutmay be removed in future major versions. - The
ExpandWildcardsenum is now attributed with[Flags]to allow combining of multiple values e.g.ExpandWildcards.Open | ExpandWildcards.Closedto match open and closed indexes but not hidden. - The
Bytesenum has been renamed toByteUnit. - All instances of the
Routingparameter now accept an array of strings instead of a single string to better represent the underlying API that accepts comma-separated lists. - The
SortOrderenum has been moved from theOpenSearch.Clientnamespace to theOpenSearch.Netnamespace. - The
TimeUnitenum has been moved from theOpenSearch.Clientnamespace to theOpenSearch.Netnamespace. TheMillisecond,Second,Minute,HourandDayvariants names have been pluralized toMilliseconds,Seconds,Minutes,HoursandDaysrespectively.
- The
TypeQueryStringparameter has been renamed to simplyType.
- The
Slicesparameter now accepts astringinstead of alongas the API can also accept the string"auto".
- The
Slicesparameter now accepts astringinstead of alongas the API can also accept the string"auto".
- The
MinCompatibleShardNodeparameter has been removed as it was never supported by OpenSearch.
- The
Slicesparameter now accepts astringinstead of alongas the API can also accept the string"auto". - The
VersionTypeparameter has been removed as it was never supported by OpenSearch.
- The
HelpandSortByColumnsparameters have been removed as they are unsupported by OpenSearch.
- The
Healthparameter now accepts a newHealthStatusenum instead of theHealthenum. The values are identical and are now unified with other parts of the API that utilize the same enum.
- The action has been marked
[Obsolete], please migrate to usingCat.ClusterManagerif your OpenSearch cluster is at least version 2.0.0 asCat.Mastermay be removed in future major versions.
- The
IncludeBootstrapparameter has been removed as it was never supported by OpenSearch.
- The
IndexQueryStringparameter has been renamed to simplyIndex.
- This action has been removed in favour of the correctly named
Cluster.ComponentTemplateExistsaction.
- The
Levelparameter now accepts a newClusterHealthLevelenum instead of theLevelenum. The values are the same except for the addition of theAwarenessAttributesvalue. - The
WaitForStatusparameter now accepts a newHealthStatusenum instead of theWaitForStatusenum. The values are identical and are now unified with other parts of the API that utilize the same enum.
- The
NodeIds&NodeNamesparameters now accept an array of strings instead of a single string to better represent the underlying API that accepts comma-separated lists.
- The
Metricparameter has been changed from astringto anClusterRerouteMetricenum.
- The entire
FeaturesAPI namespace has been removed, there is no migration path as it was never supported by OpenSearch.
- The
blockparameter has been changed from astringto anIndexApiBlockenum.
- The
IndexQueryStringparameter has been renamed to simplyIndex.
- The
IndexQueryStringparameter has been renamed to simplyIndex.
- This action has been removed in favour of the more descriptively named and typed
Indices.DeleteComposableTemplateaction.
- This action has been removed due to confusing naming as it in the prior naming scheme it should have been
TemplateExistsV2because it should be used with composable index templates, however it could be confused with the legacyTemplateExistsaction. Please migrate to the correct action depending on your use case:Indices.TemplateExistsfor legacy index templates, i.e. the/_template/{name}API.Indices.ComposableTemplateExistsfor newer composable index templates, i.e. the/_index_template/{name}API.
- This action has been removed in favour of the more descriptively named and typed
Indices.GetComposableTemplateaction.
- This action has been removed in favour of the more descriptively named and typed
Indices.PutComposableTemplateaction.
- The
Statusparameter now takes anIndicesShardStoresStatusflag enum instead of astringarray.
- The
metricparameter has been changed from astringto anIndicesStatsMetricenum.
- The
ThreadTypeparameter has been renamed to justTypeto match the query parameter it represents. Its correspondingThreadTypeenum has been renamed toNodesSampleType.
- The
Groupsparameter's type has been corrected frombooltostring[]to match the API which expects a comma-separated list of groups.
- The
PostData bodyparameter has been removed as the API does not expect a body to be sent.
- The
GroupByparameter'sGroupByenum has been renamed toTasksGroupBy.
- The
MasterTimeoutparameters on all actions have been marked[Obsolete], please migrate to usingClusterManagerTimeoutif your OpenSearch cluster is at least version2.0.0asMasterTimeoutmay be removed in future major versions. - The
ExpandWildcardsenum is now attributed with[Flags]to allow combining of multiple values e.g.ExpandWildcards.Open | ExpandWildcards.Closedto match open and closed indexes but not hidden. - The namespaced APIs exposed in
IOpenSearchClienthave each gained a corresponding interface and the types of the properties onIOpenSearchClientandOpenSearchClienthave been changed from the concrete implementations to the matching interfaces. For example,IOpenSearchClient.ClusterwasClusterNamespaceand now isIClusterNamespace. - The
Bytesenum has been renamed toByteUnit.
- The
TypeQueryStringparameter has been renamed to simplyType.
- The
VersionTypeparameter has been removed as it was never supported by OpenSearch.
- The
HelpandSortByColumnsparameters have been removed as they are unsupported by OpenSearch.
- The
Healthparameter now accepts a newHealthStatusenum instead of theHealthenum. The values are identical and are now unified with other parts of the API that utilize the same enum.
- The
Cat.Masteraction has been marked[Obsolete], please migrate to usingCat.ClusterManagerif your OpenSearch cluster is at least version 2.0.0 asCat.Mastermay be removed in future major versions.
- The
IncludeBootstrapparameter of theCat.Pluginsaction has been removed as it was never supported by OpenSearch.
- The variant of this action accepting a template name has been corrected to only accept a single value rather than multiple as it was previously erroneously documented as accepting a comma-separated list. Attempting to use multiple names results in a server error.
- The
Levelparameter now accepts a newClusterHealthLevelenum instead of theLevelenum. The values are the same except for the addition of theAwarenessAttributesvalue. - The
WaitForStatusparameter now accepts a newHealthStatusenum instead of theWaitForStatusenum. The values are identical and are now unified with other parts of the API that utilize the same enum. - The
Status,Indices[<index>].Status, andIndices[<index>].Shards[<shard>].Statusproperties in the response object now return theHealthStatusenum instead of theHealthenum. The values are identical and are now unified with other parts of the API that utilize the same enum.
- The
NodeIds&NodeNamesparameters now accept an array of strings instead of a single string to better represent the underlying API that accepts comma-separated lists.
- The
Metricparameter has been changed from astringto anClusterRerouteMetricenum.
- The
Nodes.OperatingSystem.PrettyNamesproperty in the response object's item type has been renamed fromClusterOperatingSystemPrettyNanetoClusterOperatingSystemPrettyNameto correct a spelling mistake.
- The variant of this action accepting a template name has been corrected to only accept a single value rather than multiple as it was previously erroneously documented as accepting a comma-separated list. Attempting to use multiple names results in a server error.
- The
ThreadTypeparameter has been renamed to justTypeto match the query parameter it represents. Its correspondingThreadTypeenum has been renamed toNodesSampleType.
- The
Groupsparameter's type has been corrected frombooltostring[]to match the cluster which expects a comma-separated list of groups.
- The
GroupByparameter'sGroupByenum has been renamed toTasksGroupBy. The enum otherwise remains unchanged.