UPGRADING
July 7, 2025 ยท View on GitHub
UPGRADING
Upgrading from 2.x to 3.0
URL Path Encoding
- The default URL path encoding has been changed to be more conservative. Previously the
!,$,&,',(,),*,+,,,;,=,@and:characters were left un-encoded, they will now be percent-encoded. If you require the previous behavior you can specify theorg.opensearch.path.encoding=HTTP_CLIENT_V4_EQUIVsystem property.
OpenSearchClient & OpenSearchAsyncClient
- The
listAllPitoperation has been replaced bygetAllPits.
SearchAfter of SearchRequest type
- Changed SearchAfter of SearchRequest type to FieldValue instead of String (#769)
- Consider using
FieldValue.ofto make string type values compatible.
Before:
.searchAfter("string")
.searchAfter("string1", "string2")
.searchAfter(List.of("String"))
After:
.searchAfter(FieldValue.of("string"))
.searchAfter(FieldValue.of("string1"), FieldValue.of("string2"))
.searchAfter(List.of(FieldValue.of("String")))
DanglingIndex creationDateMillis type
- The type of
DanglingIndex'screationDateMillisfield has been corrected from aStringto along.
ShardStatistics properties types
- The type of the
total,successfulandfailedfields has been corrected fromNumbertoint. - The type of the
skippedfield has been corrected fromNumbertoInteger.
Unified tasks.Info & tasks.State classes into tasks.TaskInfo
- The
tasks.Infoandtasks.Stateclasses have been unified intotasks.TaskInfo, this affects:TaskExecutingNode'stasksfield.GetTasksResponse'staskfield.core.update_by_query_rethrottle.UpdateByQueryRethrottleNode'stasksfield.
- The
headersfield is now aMap<String, String>instead of aMap<String, List<String>>.
tasks.ListResponse properties lifted to tasks.TaskListResponseBase
- All fields previously defined on
tasks.ListResponsehave been lifted totasks.TaskListResponseBase. DeleteByQueryRethrottleResponsenow extendstasks.TaskListResponseBaseinstead oftasks.ListResponse.- The
tasksfield is now aTaskInfosunion type instead of aMap<String, Info>to correctly handlegroupByparents or none.
GetTasksResponse response type
- The type of
GetTasksResponse'sresponsefield has been changed fromtasks.Statustotasks.TaskResponse.
VerifyRepositoryRequest property naming
- The
namefield, getter and builder method have been renamed torepository.
CleanupRepositoryRequest property naming
- The
namefield, getter and builder method have been renamed torepository.
CloneSnapshotRequest timeout removal
- The
timeoutfield, getter and builder method have been removed fromCloneSnapshotRequestas it is not supported by OpenSearch.
DynamicMapping
- Removed the
Runtimevariant from theDynamicMappingenum as it is not supported by OpenSearch.
TypeMapping
- Removed the
runtimefield, getter and builder methods fromTypeMappingas it is not supported by OpenSearch.
InlineScript
- The
langproperty now accepts aScriptLanguageenum instead of aString.
IcuCollationDecomposition enum variants
- The
IcuCollationDecomposition.Identicalvariant has been corrected to beIcuCollationDecomposition.Canonical.
IcuCollationTokenFilter property name casing
- The following fields, getters and builder methods on
IcuCollationTokenFilterhave had their casing corrected:casefirst->caseFirstcaselevel->caseLevelhiraganaquaternarymode->hiraganaQuaternaryModevariabletop->variableTop
ShingleTokenFilter
- The
maxShingleSizeandminShingleSizeproperties have been corrected to be of typeIntegerinstead ofString.
TokenFilterDefinition
- The
smartcn_stopBuilder method has been renamed tosmartcnStop.
TokenizerDefinition
- The
smartcnBuilder method has been renamed tosmartcnTokenizer.
PointProperty
PointPropertyhas been removed and is replaced byXyPointProperty.
PropertyBase
- The
nameandlocalMetadatafields, getters and builder methods have been removed fromPropertyBaseas they are not supported by OpenSearch.
IndexTemplate
IndexTemplatehas been moved from theorg.opensearch.client.opensearch.indices.get_index_templatepackage to theorg.opensearch.client.opensearch.indicespackage.- The
dataStreamproperty is now of typeIndexTemplateDataStreamConfigurationinstead ofMap<String, JsonData>.
IndexTemplateSummary
IndexTemplateSummaryhas been moved from theorg.opensearch.client.opensearch.indices.get_index_templatepackage to theorg.opensearch.client.opensearch.indicespackage.- The
settingsproperty is now of typeIndexSettingsinstead ofMap<String, JsonData>.
DataStream renamed to IndexTemplateDataStreamConfiguration
- The
DataStreamclass has been renamed toIndexTemplateDataStreamConfiguration, this affects:PutIndexTemplateRequest'sdataStreamfield.SimulateIndexTemplateRequest'sdataStreamfield.
Translog
- The
durabilityproperty now accepts aTranslogDurabilityenum instead of aString.
IndexSettingsMapping
- The mapping limit fields now have specialized types instead of a generic
IndexSettingsMappingLimittype:depthis now of typeIndexSettingsMappingLimitDepth.fieldNameLengthis now of typeIndexSettingsMappingLimitFieldNameLength.nestedFieldsis now of typeIndexSettingsMappingLimitNestedFields.nestedObjectsis now of typeIndexSettingsMappingLimitNestedObjects.totalFieldsis now of typeIndexSettingsMappingLimitTotalFields.
IndexSettings
- The
creationDateproperty is now of typeLonginstead ofString. - The
translogDurabilityproperty now accepts aTranslogDurabilityenum instead of aString. - The
numberOfReplicasproperty is now of typeIntegerinstead ofString. - The
numberOfShardsproperty is now of typeIntegerinstead ofString. - The
formatproperty is now of typeIntegerinstead ofString. - The
priorityproperty is now of typeIntegerinstead ofString.
IndexSettingsStore
- The
typeproperty now accepts aStorageTypeunion of aBuiltinStorageTypeenum or aStringinstead of aString.
BoostingQuery
- The
negativeBoostproperty has been corrected to be of typefloatinstead ofdouble.
DisMaxQuery
- The
tieBreakerproperty has been corrected to be of typeFloatinstead ofDouble.
DistanceFeatureQuery
- The
pivotproperty has been corrected to be of typeStringinstead ofJsonData.
FunctionScoreQuery
- The
maxBoostproperty has been corrected to be of typeFloatinstead ofDouble. - The
minScoreproperty has been corrected to be of typeFloatinstead ofDouble.
KnnQuery
- The
vectorproperty is now of typeList<Float>instead offloat[].
LikeDocument
- The
typeproperty has been removed as it is not supported by OpenSearch as of version 2.0.0.
MatchQuery
- The
cutoffFrequencyproperty has been corrected to be of typeFloatinstead ofDouble.
MoreLikeThisQuery
- The
boostTermsproperty has been corrected to be of typeFloatinstead ofDouble.
MultiMatchQuery
- The
cutoffFrequencyproperty has been corrected to be of typeFloatinstead ofDouble. - The
tieBreakerproperty has been corrected to be of typeFloatinstead ofDouble.
QueryStringQuery
- The
phraseSlopproperty has been corrected to be of typeIntegerinstead ofDouble. - The
tieBreakerproperty has been corrected to be of typeFloatinstead ofDouble.
simulate_template.Template
- The
settingsproperty is now of typeIndexSettingsinstead ofMap<String, JsonData>. - The
overlappingproperty has been moved toSimulateTemplateResponse.
PutTemplateRequest
- The
flatSettingsproperty has been removed as it is not supported by OpenSearch. - The
timeoutproperty has been removed as it is not supported by OpenSearch.
DataStreamInfo renamed to DataStream
- The
DataStreamInfoclass has been renamed toDataStream, this affects:GetDataStreamResponse'sdataStreamsfield.
- The
generationproperty is now of typelonginstead ofint.
DataStreamIndexInfo renamed to DataStreamIndex
- The
DataStreamIndexInfoclass has been renamed toDataStreamIndex, this affects:DataStream's (previouslyDataStreamInfo)indicesfield.
RepositorySettings
- The
concurrentStreamsproperty is now of typeIntegerinstead ofString.
snapshot.RestoreRequest renamed to snapshot.RestoreSnapshotRequest
- The
snapshot.RestoreRequestclass has been renamed tosnapshot.RestoreSnapshotRequest. - The
indexSettingsproperty has been corrected to be of typeIndexSettingsinstead ofPutIndicesSettingsRequest.
snapshot.RestoreResponse renamed to snapshot.RestoreSnapshotResponse
- The
snapshot.RestoreResponseclass has been renamed tosnapshot.RestoreSnapshotResponse.
snapshot.Status renamed to snapshot.SnapshotStatus
- The
snapshot.Statusclass has been renamed tosnapshot.SnapshotStatus, this affects:snapshot.SnapshotStatusResponse'ssnapshotsfield.
snapshot.ShardStats renamed to snapshot.SnapshotShardStats
- The
snapshot.ShardStatsclass has been renamed tosnapshot.SnapshotShardStats, this affects:snapshot.SnapshotStatus's (previoussnapshot.Status)shardsStatsfield.snapshot.SnapshotIndexStats'sshardsStatsfield.
snapshot.ShardsStatsStage renamed to snapshot.SnapshotShardsStatsStage
- The
snapshot.ShardsStatsStageclass has been renamed tosnapshot.SnapshotShardsStatsStage, this affects:snapshot.SnapshotShardsStatus'sstagefield.
snapshot.ShardsStatsSummary renamed to snapshot.SnapshotShardsStatsSummary
- The
snapshot.ShardsStatsSummaryclass has been renamed tosnapshot.SnapshotShardsStatsSummary, this affects:snapshot.SnapshotShardsStatus'ssummaryfield.
snapshot.ShardsStatsSummaryItem renamed to snapshot.SnapshotShardsStatsSummaryItem
- The
snapshot.ShardsStatsSummaryItemclass has been renamed tosnapshot.SnapshotShardsStatsSummaryItem, this affects:snapshot.SnapshotShardsStatsSummary's (previouslysnapshot.ShardsStatsSummary)incrementalandtotalfields.
AnalyzeToken
- The
endOffset,position,positionLengthandstartOffsetproperties have been corrected to be of typeintinstead oflong.
ExplainAnalyzeToken
- The
endOffset,position,positionLength,startOffsetandtermFrequencyproperties have been corrected to be of typeintinstead oflong. - The
positionlengthandtermfrequencyproperties have had their casing corrected topositionLengthandtermFrequencyrespectively.
RecoveryBytes
- The
recoveredFromSnapshotInBytes,recoveredInBytes,reusedInBytesandtotalInBytesproperties have been corrected to be of typelonginstead ofString.
RecoveryIndexStatus
- The
sourceThrottleTimeInMillis,targetThrottleTimeInMillisandtotalTimeInMillisproperties have been corrected to be of typelonginstead ofString.
RecoveryOrigin
- The
restoreuuidproperty has had its casing corrected torestoreUuid.
RecoveryStartStatus
- The
checkIndexTimeproperty has been corrected to be of typeTimeinstead oflong. - The
totalTimeInMillisproperty has been corrected to be of typelonginstead ofString.
ShardRecovery
- The
idproperty has been corrected to be of typeintinstead oflong. - The
startTimeInMillis,stopTimeInMillisandtotalTimeInMillisproperties have been corrected to be of typelonginstead ofString. - The
totalTimeproperty has been corrected to be of typeTimeinstead ofString.
indices.recovery.TranslogStatus
- The
recovered,totalandtotalOnStartproperties have been corrected to be of typeintinstead oflong. - The
totalTimeproperty has been corrected to be of typeTimeinstead ofString. - The
totalTimeInMillisproperty has been corrected to be of typelonginstead ofString.
indices.recovery.VerifyIndex
- The
checkIndexTimeInMillisandtotalTimeInMillisproperties have been corrected to be of typelonginstead ofString.
RolloverRequest
- The
mappingsproperty is now of typeTypeMappinginstead ofIndexRolloverMapping.
IndexRolloverMapping
- The
IndexRolloverMappingclass has been removed.
Segment
- The
deletedDocsandnumDocsproperties have been corrected to be of typeintinstead oflong. - The
memoryInBytesandsizeInBytesproperties have been corrected to be of typelonginstead ofdouble.
ShardStore
- The
attributes,id,legacyVersion,nameandtransportAddressproperties have been removed and are now correctly nested within theNodeAttributesunder thenodesproperty map.
FlushStats
- The
totalTimeproperty has been corrected to be of typeTimeinstead ofString.
GetStats
- The
existsTime,missingTimeandtimeproperties have been corrected to be of typeTimeinstead ofString.
IndexingStats
- The
deleteTime,indexTimeandthrottleTimeproperties have been corrected to be of typeTimeinstead ofString. - The
typesproperty has been removed as it is no longer supported by OpenSearch as of version 2.0.0.
MergesStats
- The
totalStoppedTime,totalThrottledTimeandtotalTimeproperties have been corrected to be of typeTimeinstead ofString.
RecoveryStats
- The
throttleTimeproperty has been corrected to be of typeTimeinstead ofString.
RefreshStats
- The
totalTimeproperty has been corrected to be of typeTimeinstead ofString.
SegmentsStats
- The
storedMemoryproperty has been renamed tostoredFieldsMemoryto match the OpenSearch response.
StoreStats
- The
totalDataSetSizeandtotalDataSetSizeInBytesproperties have been removed as they are not returned by OpenSearch.
TranslogStats
- The
operationsproperty has been corrected to be of typeintinstead oflong.
WarmerStats
- The
totalTimeproperty has been corrected to be of typeTimeinstead ofString.
IndicesStatsRequest
- The
metricproperty is now of typeList<IndicesStatsMetric>instead ofList<String>. - The
typesproperty has been removed as it is no longer supported by OpenSearch as of version 2.0.0.
IndicesStatsResponse
- The
allproperty is now of typeAllIndicesStatsinstead ofIndicesStats.
ShardStats renamed to IndexShardStats
- The
ShardStatsclass has been renamed toIndexShardStats, this affects:IndicesStats'sshardsfield.
AllocationExplainResponse
- The
allocationDelay,configuredDelayandremainingDelayproperties have been corrected to be of typeTimeinstead ofString.
PutComponentTemplateRequest
- The
aliases,mappingsandsettingsproperties have been removed as they should be set within thetemplateproperty.
HealthRequest
- The
levelproperty is now of typeClusterHealthLevelinstead ofLevel. - The
waitForNodesproperty is now of typeWaitForNodesinstead ofString.
HealthResponse
- The
activeShardsPercentAsNumberproperty has been corrected to be of typedoubleinstead ofString. - The
taskMaxWaitingInQueueMillisproperty has been corrected to be of typelonginstead ofString.
PendingTask
- The
timeInQueueproperty has been corrected to be of typeTimeinstead ofString. - The
timeInQueueMillisproperty has been corrected to be of typelonginstead ofint.
RerouteRequest
- The
metricproperty is now of typeList<ClusterRerouteMetric>instead ofList<String>.
StateRequest
- The
metricproperty is now of typeList<ClusterStateMetric>instead ofList<String>.
ClusterIndicesShards
- The
primaries,replicationandtotalproperties have been corrected to be of typeIntegerinstead ofDouble.
ClusterProcessCpu
- The
percentproperty has been corrected to be of typedoubleinstead ofint.
FieldTypes
- The
scriptCountproperty has been removed as it is not supported by OpenSearch.
FieldTypesMappings
- The
runtimeFieldTypesproperty has been removed as it is not supported by OpenSearch.
OperatingSystemMemoryInfo
- The
freePercentandusedPercentproperties have been corrected to be of typedoubleinstead ofint.
NodeInfo
- The
totalIndexingBufferandtotalIndexingBufferInBytesproperties are now of typeJsonDatato handle OpenSearch 3.0 where they've correctly as previously their values were swapped.
NodeInfoSettingsHttpType
- The
NodeInfoSettingsHttpTypeclass is now an untagged union betweenStringandNodeInfoSettingsHttpTypeConfig.
NodeInfoSettingsTransportType
- The
NodeInfoSettingsHttpTypeclass is now an untagged union betweenStringandNodeInfoSettingsHttpTypeConfig.
NodeThreadPoolInfo
- The
keepAliveproperty has been corrected to be of typeTimeinstead ofString.
NodesInfoRequest
- The
metricproperty is now of typeList<NodesInfoMetric>instead ofList<String>. - The
clusterManagerTimeoutandmasterTimeoutproperties have been removed as they are not supported by OpenSearch.
NodeReloadResult
- The
NodeReloadResultclass has been corrected to be an object with an optionalreloadExceptioninstead of a union of stats and error.
NodesStatsRequest
- The
groupsproperty has been corrected to be of typeList<String>instead ofBoolean. - The
indexMetricproperty is now of typeList<NodesStatsIndexMetric>instead ofList<String>. - The
metricproperty is now of typeList<NodesStatsMetric>instead ofList<String>. - The
includeUnloadedSegments,masterTimeoutandclusterManagerTimeoutproperties have been removed as they are not supported by OpenSearch.
nodes.AdaptiveSelection
- The
AdaptiveSelectionclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.Breaker
- The
Breakerclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
overheadproperty has been corrected to be of typedoubleinstead offloat. - The
trippedproperty has been corrected to be of typelonginstead offloat.
nodes.DataPathStats
- The
DataPathStatsclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.ExtendedMemoryStats
- The
ExtendedMemoryStatsclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
freePercentandusedPercentproperties have been corrected to be of typedoubleinstead ofint.
nodes.FileSystem
- The
FileSystemclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.FileSystemTotal
- The
FileSystemTotalclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.GarbageCollector
- The
GarbageCollectorclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.GarbageCollectorTotal
- The
GarbageCollectorTotalclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.Http
- The
Httpclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
currentOpenproperty has been corrected to be of typelonginstead ofint.
nodes.Ingest
- The
Ingestclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.IngestTotal
- The
IngestTotalclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.Jvm
- The
Jvmclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
memproperty is now of typeJvmMemoryStatsinstead ofMemoryStats.
nodes.JvmClasses
- The
JvmClassesclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.JvmThreads
- The
JvmThreadsclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.KeyedProcessor
- The
KeyedProcessorclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
statisticsproperty has had its naming corrected tostatsand its type corrected toProcessor.
nodes.MemoryStats
- The
MemoryStatsclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
resident,residentInBytes,share,shareInBytes,totalVirtualandtotalVirtualInBytesproperties have been removed as they are not returned by OpenSearch.
nodes.NodeBufferPool
- The
NodeBufferPoolclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.OperatingSystem
- The
OperatingSystemclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
cpuproperty is now of typeOperatingSystemCpuStatsinstead ofCpu.
nodes.Process
- The
Processclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
cpuproperty is now of typeProcessCpuStatsinstead ofCpu. - The
memproperty is now of typeProcessMemoryStatsinstead ofMemoryStats. - The
openFileDescriptorsproperty has been corrected to be of typelonginstead ofint.
nodes.Stats
- The
Statsclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
indicesproperty is now of typeNodesIndicesStatsinstead ofIndexStats. - The
scriptproperty is now of typeScriptStatsinstead ofScripting.
nodes.ThreadCount
- The
ThreadCountclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage.
nodes.Transport
- The
Transportclass has been moved from theorg.opensearch.client.opensearch.nodespackage to theorg.opensearch.client.opensearch.nodes.statspackage. - The
serverOpenproperty has been corrected to be of typelonginstead ofint.
NodesUsageRequest
- The
metricproperty is now of typeList<NodesUsageMetric>instead ofList<String>.
NodeUsage
- The
restActionsproperty has been corrected to be of typeMap<String, Long>instead ofMap<String, Integer>. - The
sinceandtimestampproperties have been corrected to be of typelonginstead ofString.
GetPipelineRequest
- The
summaryproperty has been removed as it is not supported by OpenSearch.
InferenceProcessor
- The
InferenceProcessorclass has been removed as it is not supported by OpenSearch.- This also affects the associated
InferenceConfigandInferenceConfigRegressionclasses.
- This also affects the associated
DocumentSimulation
- The
typeproperty has been removed as it is no longer supported by OpenSearch. - The
_versionproperty has been corrected to be of typeLonginstead ofString.
CountRequest
- The
minScoreproperty has been corrected to be of typeFloatinstead ofDouble. - The
routingproperty is now of typeList<String>instead ofString. - The
terminateAfterproperty is now of typeIntegerinstead ofLong.
CreatePitRequest
- The
CreatePitRequestclass has been moved from theorg.opensearch.client.opensearch.core.pitpackage to theorg.opensearch.client.opensearch.corepackage. - The
targetIndexesproperty has been renamed toindex. - The
routingproperty is now of typeList<String>instead ofString.
CreatePitResponse
- The
CreatePitResponseclass has been moved from theorg.opensearch.client.opensearch.core.pitpackage to theorg.opensearch.client.opensearch.corepackage.
DeleteRequest
- The
routingproperty is now of typeList<String>instead ofString.
DeletePitRequest
- The
DeletePitRequestclass has been moved from theorg.opensearch.client.opensearch.core.pitpackage to theorg.opensearch.client.opensearch.corepackage.
DeletePitResponse
- The
DeletePitResponseclass has been moved from theorg.opensearch.client.opensearch.core.pitpackage to theorg.opensearch.client.opensearch.corepackage.
DeletePitRecord renamed to DeletedPit
- The
DeletePitRecordclass has been renamed toDeletedPit, this affects:DeletePitResponse'spitsfield.
DeleteByQueryRequest
- The
fromproperty has been corrected to be of typeIntegerinstead ofLong. - The
maxDocsproperty has been corrected to be of typeIntegerinstead ofLong. - The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong. - The
routingproperty is now of typeList<String>instead ofString. - The
scrollSizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
sizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
slicesproperty now accepts aSlicesunion type instead of aLong. - The
terminateAfterproperty is now of typeIntegerinstead ofLong.
DeleteByQueryResponse
- The
batchesproperty has been corrected to be of typeIntegerinstead ofLong.
BulkIndexByScrollFailure renamed to BulkByScrollFailure
- The
BulkIndexByScrollFailureclass has been renamed toBulkByScrollFailure, this affects:DeleteByQueryResponse'sfailuresfield.ReindexResponse'sfailuresfield.UpdateByQueryResponse'sfailuresfield.
core.reindex.Source
- The
runtimeMappingsproperty has been removed as it is not supported by OpenSearch.
ReindexRequest
- The
maxDocsproperty has been corrected to be of typeIntegerinstead ofLong. - The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong. - The
sizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
slicesproperty now accepts aSlicesunion type instead of aLong.
ReindexResponse
- The
batchesproperty has been corrected to be of typeIntegerinstead ofLong. - The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong. - The
throttledMillisandthrottledUntilMillisproperties have been corrected to be of typeLonginstead ofString. - The
tookproperty has been corrected to be of typeLonginstead ofTime.
UpdateByQueryRequest
- The
fromproperty has been corrected to be of typeIntegerinstead ofLong. - The
maxDocsproperty has been corrected to be of typeIntegerinstead ofLong. - The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong. - The
routingproperty is now of typeList<String>instead ofString. - The
scrollSizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
sizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
slicesproperty now accepts aSlicesunion type instead of aLong. - The
terminateAfterproperty is now of typeIntegerinstead ofLong. - The
versionTypeproperty has been removed as it is not supported by OpenSearch.
UpdateByQueryResponse
- The
batchesproperty has been corrected to be of typeIntegerinstead ofLong. - The
throttledMillisandthrottledUntilMillisproperties have been corrected to be of typeLonginstead ofNumber.
DeleteByQueryRethrottleRequest
- The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong.
ReindexRethrottleRequest
- The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong.
UpdateByQueryRethrottleRequest
- The
requestsPerSecondproperty has been corrected to be of typeFloatinstead ofLong.
StoredScript
- The
langproperty now accepts aScriptLanguageenum instead of aString.
get_script_languages.LanguageContext
- The
languageproperty now accepts aScriptLanguageenum instead of aString.
ExistsRequest
- The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
routingproperty is now of typeList<String>instead ofString.
ExistsSourceRequest
- The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
routingproperty is now of typeList<String>instead ofString.
FieldCapsRequest
- The
runtimeMappingsproperty has been removed as it is not supported by OpenSearch.
MtermvectorsRequest
- The
routingproperty is now of typeList<String>instead ofString.
RankEvalHitItem
- The
ratingproperty has been corrected to be of typeIntegerinstead ofDouble.
RankEvalMetricRatingTreshold renamed to RankEvalMetricRatingThreshold
- The
RankEvalMetricRatingTresholdclass has been renamed toRankEvalMetricRatingThreshold.:
RankEvalRequest
- The
searchTypeproperty is now of typeSearchTypeinstead ofString.
RenderSearchTemplateRequest
- The
fileproperty has been removed as it is not supported by OpenSearch.
SearchShardsRequest
- The
routingproperty is now of typeList<String>instead ofString.
CompositeAggregation
- The
afterproperty is now of typeMap<String, FieldValue>instead ofMap<String, String>.
CompositeDateHistogramAggregationSource
- The
offsetproperty has been corrected to be of typeTimeinstead ofLong.
CompositeValuesSource
- The
formatproperty has been removed as it only applies to certain subclasses.
SignificantTermsAggregation
- The
includeproperty is now of typeTermsIncludeinstead ofList<String>.
SignificantTextAggregation
- The
includeproperty is now of typeTermsIncludeinstead ofList<String>.
XyShapeFieldQuery renamed to XyShapeQueryField
- The
XyShapeFieldQueryclass has been renamed toXyShapeQueryField, this affects:XyShapeQuery'sxyShapefield.
- The
xyShapeproperty has been renamed toshapeand is now of typeXyShapeinstead ofJsonData.
GeoShapeFieldQuery renamed to GeoShapeQueryField
- The
GeoShapeFieldQueryclass has been renamed toGeoShapeQueryField, this affects:GeoShapeQuery'sshapefield.
- The
shapeproperty is now of typeGeoShapeinstead ofJsonData.
RescoreQuery
- The
queryWeightandrescoreQueryWeightproperties have been corrected to be of typeFloatinstead ofDouble. - The
queryproperty has been renamed torescoreQueryto match the JSON property naming.
ShardCacheStats renamed to CacheStats
- The
ShardCacheStatsclass has been renamed toCacheStats, this affects:nodes.stats.Stats'scachesfield.
Explanation
- The
detailsproperty has been changed to be of typeList<Explanation>instead ofList<ExplanationDetail>. - The
valueproperty has been corrected to be of typeNumberinstead offloat.
ExplanationDetail
- The
ExplanationDetailclass has been removed as it has been replaced by theExplanationclass.
Aggregate
- The
GeoLineaggregation has been removed as it is not supported by OpenSearch. - The
Inferenceaggregation has been removed as it is not supported by OpenSearch. - The
StringStatsaggregation has been removed as it is not supported by OpenSearch. - The
TopMetricsaggregation has been removed as it is not supported by OpenSearch.
Aggregation
- The
GeoLineaggregation has been removed as it is not supported by OpenSearch. - The
Inferenceaggregation has been removed as it is not supported by OpenSearch. - The
StringStatsaggregation has been removed as it is not supported by OpenSearch. - The
TopMetricsaggregation has been removed as it is not supported by OpenSearch.
SuggestContext
- The
precisionproperty has been corrected to be of typeJsonDatainstead ofString.
RandomScoreFunction
- The
seedproperty has been corrected to be of typeJsonDatainstead ofString.
CountRecord
- The
epochproperty has been corrected to be of typeLonginstead ofString.
HealthRecord
- The
epochproperty has been corrected to be of typeLonginstead ofString.
SnapshotsRecord
- The
endEpochandstartEpochproperties have been corrected to be of typeLonginstead ofString.
ClusterInfo
- The
shardSizesproperty has been corrected to be of typeMap<String, JsonData>instead ofMap<String, String>.
IndexingPressureMemory
- The
limitproperty has been corrected to be of typeJsonDatainstead ofString.
HitsMetadata
- The
maxScoreproperty has been corrected to be of typeFloatinstead ofDouble. - The
tSerializerproperty has been removed as it is unused.
AggregationRange
- The
fromandtoproperties have been corrected to be of typeJsonDatainstead ofString.
ArrayPercentilesItem
- The
valueproperty no longer defaults0when null, instead it is now an optional field.
AutoDateHistogramAggregate
- The
intervalproperty has been corrected to be of typeTimeinstead ofString.
CompositeAggregate
- The
afterKeyproperty is now of typeMap<String, FieldValue>instead ofMap<String, JsonData>.
CompositeBucket
- The
keyproperty is now of typeMap<String, FieldValue>instead ofMap<String, JsonData>.
DateHistogramBucket
- The
keyproperty is now of typelonginstead ofString.
ExtendedStatsAggregate
- The
stdDeviation,sumOfSquares,variance,variancePopulationandvarianceSamplingproperties no longer default0when null, instead they are now optional fields.
LongTermsBucket
- The
keyproperty is now a union to handlelongandStringinstead of justString.
MultiTermsBucket
- The
keyproperty is now of typeList<FieldValue>instead ofList<String>.
Percentiles
- The
keyedvariant has been corrected to be of typeMap<String, JsonData>instead ofMap<String, String>.
SingleMetricAggregateBase
- The
valueproperty no longer defaults0when null, instead it is now an optional field.
StandardDeviationBounds
- All properties no longer default
0when null, instead they are now optional fields.
StatsAggregate
- The
avg,maxandminproperties no longer default0/Double.NEGATIVE_INFINITY/Double.POSITIVE_INFINITYwhen null, instead they are now optional fields.
TTestAggregate
- The
valueproperty no longer defaults0when null, instead it is now an optional field.
ScoreCombination
- The
parametersproperty has been corrected to be of typeScoreCombinationParametersinstead ofList<Float>.
MultiBucketAggregateBase
- The
tBucketSerializerproperty has been removed as it is unused.
ExplainResponse
- The
explanationproperty is now of typeExplanationinstead ofExplanationDetail.
Upgrading from 3.x to UNRELEASED
ExplainRequest
- The
routingproperty is now of typeList<String>instead ofString.
ExplainResponse
- The
tDocumentSerializerproperty has been removed as it is unused.
GetRequest
- The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
routingproperty is now of typeList<String>instead ofString.
GetResponse
- The
GetResponseclass now extends aGetResultBaseclass instead ofGetResult.
GetSourceRequest
- The
refreshproperty has been corrected to be of typeRefreshinstead ofBoolean. - The
routingproperty is now of typeList<String>instead ofString. - The
storedFieldsproperty has been removed as it is not supported by OpenSearch.
ScrollResponse
- The
ScrollResponseclass now extendsSearchResultdirectly instead of viaSearchResponse.
SearchResult
- The
documentsproperty has been removed as it is not supported by OpenSearch. - The
maxScoreproperty has been removed as it is not supported by OpenSearch. - The
numReducePhasesproperty has been corrected to be of typeIntegerinstead ofLong. - The
tDocumentSerializerproperty has been removed as it is unused.
CompletionSuggestOption
- The
scoreproperty has been corrected to be of typeFloatinstead ofDouble.
SuggestVariant
- The
_suggestionKindmethod's naming has been corrected to_suggestKind. - The
_toSuggestionmethod's naming has been corrected totoSuggest.
SuggestOptionBuilders
- The
SuggestOptionBuildersclass has been removed.
SearchRequest
- The
batchedReduceSizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
indicesBoostproperty is now of typeList<Map<String, Float>>instead ofList<Map<String, Double>>. - The
maxConcurrentShardRequestsproperty has been corrected to be of typeIntegerinstead ofLong. - The
minCompatibleShardNodeproperty has been removed as it is not supported by OpenSearch. - The
minScoreproperty has been corrected to be of typeFloatinstead ofDouble. - The
preFilterShardSizeproperty has been corrected to be of typeIntegerinstead ofLong. - The
routingproperty is now of typeList<String>instead ofString. - The
runtimeMappingsproperty has been removed as it is not supported by OpenSearch. - The
terminateAfterproperty has been corrected to be of typeIntegerinstead ofLong.
core.search.Pit renamed to PointInTimeReference
- The
Pitclass has been renamed toPointInTimeReference, this affects:SearchRequest'spitfield.
- The
keepAliveproperty has been corrected to be of typeTimeinstead ofString.
SearchTemplateRequest
- The
routingproperty is now of typeList<String>instead ofString.
LifecycleOperationMode
- The
LifecycleOperationModeenum has been removed as it is no longer used.
RuntimeField
- The
RuntimeFieldclass has been removed as it is not supported by OpenSearch.
RuntimeFieldType
- The
RuntimeFieldTypeclass has been removed as it is not supported by OpenSearch.
MultiSearchItem
- The
MultiSearchItemclass now extendsSearchResultdirectly instead of viaSearchResponse.
ml.ByteBuffer
- The
orderproperty is now of typeByteOrderinstead ofString.
ml.ColumnMeta
- The
columnTypeproperty is now of typeColumnTypeinstead ofString.
ml.CreateConnectorRequest
- The
protocolproperty is now of typeConnectorProtocolinstead ofString.
ml.GetAgentResponse
- The
typeproperty is now of typeAgentTypeinstead ofString.
ml.GetConnectorResponse
- The
protocolproperty is now of typeConnectorProtocolinstead ofString.
ml.GetModelGroupResponse
- The
accessproperty is now of typeModelGroupAccessModeinstead ofString.
ml.GetModelResponse
- The
modelStateproperty is now of typeModelStateinstead ofString.
ml.GetStatsRequest
- The
statproperty is now of typeList<MlStatName>instead ofString.
ml.GetStatsResponse
- The
mlConfigIndexStatus,mlConnectorIndexStatus,mlControllerIndexStatus,mlModelIndexStatus&mlTaskIndexStatusproperties are now of typeMlIndexStatusinstead ofString.
ml.GetTaskResponse
- The
stateproperty is now of typeTaskStateinstead ofString. - The
taskTypeproperty is now of typeMlTaskTypeinstead ofString.
ml.GetToolRequest
- The
toolNameproperty is now of typeToolNameinstead ofString.
ml.Guardrails
- The
typeproperty is now of typeGuardrailsTypeinstead ofString.
ml.LoadModelResponse
- The
taskTypeproperty is now of typeMlTaskTypeinstead ofString.
ml.ModelProfile
- The
modelStateproperty is now of typeModelStateinstead ofString.
ml.Output
- The
dataTypeproperty is now of typeMlResultDataTypeinstead ofString.
ml.RateLimiter
- The
unitproperty is now of typeRateLimiterUnitinstead ofString.
ml.RegisterModelGroupRequest
- The
accessModeproperty is now of typeModelGroupAccessModeinstead ofString.
ml.Task
- The
stateproperty is now of typeTaskStateinstead ofString. - The
taskTypeproperty is now of typeMlTaskTypeinstead ofString.
ml.UpdateConnectorRequest
- The
accessModeproperty is now of typeModelGroupAccessModeinstead ofString. - The
protocolproperty is now of typeConnectorProtocolinstead ofString.
ml.Values
- The
columnTypeproperty is now of typeColumnTypeinstead ofString.