- 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_EQUIV
system property.
- Changed SearchAfter of SearchRequest type to FieldValue instead of String (#769)
- Consider using
FieldValue.of
to 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")))
- The type of
DanglingIndex
'screationDateMillis
field has been corrected from aString
to along
.
- The type of the
total
,successful
andfailed
fields has been corrected fromNumber
toint
. - The type of the
skipped
field has been corrected fromNumber
toInteger
.
- The
tasks.Info
andtasks.State
classes have been unified intotasks.TaskInfo
, this affects:TaskExecutingNode
'stasks
field.GetTasksResponse
'stask
field.core.update_by_query_rethrottle.UpdateByQueryRethrottleNode
'stasks
field.
- The
headers
field is now aMap<String, String>
instead of aMap<String, List<String>>
.
- All fields previously defined on
tasks.ListResponse
have been lifted totasks.TaskListResponseBase
. DeleteByQueryRethrottleResponse
now extendstasks.TaskListResponseBase
instead oftasks.ListResponse
.- The
tasks
field is now aTaskInfos
union type instead of aMap<String, Info>
to correctly handlegroupBy
parents or none.
- The type of
GetTasksResponse
'sresponse
field has been changed fromtasks.Status
totasks.TaskResponse
.
- The
name
field, getter and builder method have been renamed torepository
.
- The
name
field, getter and builder method have been renamed torepository
.
- The
timeout
field, getter and builder method have been removed fromCloneSnapshotRequest
as it is not supported by OpenSearch.
- Removed the
Runtime
variant from theDynamicMapping
enum as it is not supported by OpenSearch.
- Removed the
runtime
field, getter and builder methods fromTypeMapping
as it is not supported by OpenSearch.
- The
lang
property now accepts aScriptLanguage
enum instead of aString
.
- The
IcuCollationDecomposition.Identical
variant has been corrected to beIcuCollationDecomposition.Canonical
.
- The following fields, getters and builder methods on
IcuCollationTokenFilter
have had their casing corrected:casefirst
->caseFirst
caselevel
->caseLevel
hiraganaquaternarymode
->hiraganaQuaternaryMode
variabletop
->variableTop
- The
smartcn_stop
Builder method has been renamed tosmartcnStop
.
- The
smartcn
Builder method has been renamed tosmartcnTokenizer
.
PointProperty
has been removed and is replaced byXyPointProperty
.
- The
name
andlocalMetadata
fields, getters and builder methods have been removed fromPropertyBase
as they are not supported by OpenSearch.
IndexTemplate
has been moved from theorg.opensearch.client.opensearch.indices.get_index_template
package to theorg.opensearch.client.opensearch.indices
package.- The
dataStream
property is now of typeIndexTemplateDataStreamConfiguration
instead ofMap<String, JsonData>
.
IndexTemplateSummary
has been moved from theorg.opensearch.client.opensearch.indices.get_index_template
package to theorg.opensearch.client.opensearch.indices
package.- The
settings
property is now of typeIndexSettings
instead ofMap<String, JsonData>
.
- The
DataStream
class has been renamed toIndexTemplateDataStreamConfiguration
, this affects:PutIndexTemplateRequest
'sdataStream
field.SimulateIndexTemplateRequest
'sdataStream
field.
- The
durability
property now accepts aTranslogDurability
enum instead of aString
.
- The mapping limit fields now have specialized types instead of a generic
IndexSettingsMappingLimit
type:depth
is now of typeIndexSettingsMappingLimitDepth
.fieldNameLength
is now of typeIndexSettingsMappingLimitFieldNameLength
.nestedFields
is now of typeIndexSettingsMappingLimitNestedFields
.nestedObjects
is now of typeIndexSettingsMappingLimitNestedObjects
.totalFields
is now of typeIndexSettingsMappingLimitTotalFields
.
- The
creationDate
property is now of typeLong
instead ofString
. - The
translogDurability
property now accepts aTranslogDurability
enum instead of aString
. - The
numberOfReplicas
property is now of typeInteger
instead ofString
. - The
numberOfShards
property is now of typeInteger
instead ofString
.
- The
negativeBoost
property has been corrected to be of typefloat
instead ofdouble
.
- The
tieBreaker
property has been corrected to be of typeFloat
instead ofDouble
.
- The
maxBoost
property has been corrected to be of typeFloat
instead ofDouble
. - The
minScore
property has been corrected to be of typeFloat
instead ofDouble
.
- The
filter
property is now of typeList<Query>
instead ofQuery
. - The
vector
property is now of typeList<Float>
instead offloat[]
.
- The
type
property has been removed as it is not supported by OpenSearch as of version 2.0.0.
- The
cutoffFrequency
property has been corrected to be of typeFloat
instead ofDouble
.
- The
boostTerms
property has been corrected to be of typeFloat
instead ofDouble
.
- The
cutoffFrequency
property has been corrected to be of typeFloat
instead ofDouble
. - The
tieBreaker
property has been corrected to be of typeFloat
instead ofDouble
.
- The
phraseSlop
property has been corrected to be of typeInteger
instead ofDouble
. - The
tieBreaker
property has been corrected to be of typeFloat
instead ofDouble
.
- The
settings
property is now of typeIndexSettings
instead ofMap<String, JsonData>
. - The
overlapping
property has been moved toSimulateTemplateResponse
.
- The
flatSettings
property has been removed as it is not supported by OpenSearch. - The
timeout
property has been removed as it is not supported by OpenSearch.
- The
DataStreamInfo
class has been renamed toDataStream
, this affects:GetDataStreamResponse
'sdataStreams
field.
- The
generation
property is now of typelong
instead ofint
.
- The
DataStreamIndexInfo
class has been renamed toDataStreamIndex
, this affects:DataStream
's (previouslyDataStreamInfo
)indices
field.
- The
concurrentStreams
property is now of typeInteger
instead ofString
.
- The
snapshot.RestoreRequest
class has been renamed tosnapshot.RestoreSnapshotRequest
. - The
indexSettings
property has been corrected to be of typeIndexSettings
instead ofPutIndicesSettingsRequest
.
- The
snapshot.RestoreResponse
class has been renamed tosnapshot.RestoreSnapshotResponse
.
- The
snapshot.Status
class has been renamed tosnapshot.SnapshotStatus
, this affects:snapshot.SnapshotStatusResponse
'ssnapshots
field.
- The
snapshot.ShardStats
class has been renamed tosnapshot.SnapshotShardStats
, this affects:snapshot.SnapshotStatus
's (previoussnapshot.Status
)shardsStats
field.snapshot.SnapshotIndexStats
'sshardsStats
field.
- The
snapshot.ShardsStatsStage
class has been renamed tosnapshot.SnapshotShardsStatsStage
, this affects:snapshot.SnapshotShardsStatus
'sstage
field.
- The
snapshot.ShardsStatsSummary
class has been renamed tosnapshot.SnapshotShardsStatsSummary
, this affects:snapshot.SnapshotShardsStatus
'ssummary
field.
- The
snapshot.ShardsStatsSummaryItem
class has been renamed tosnapshot.SnapshotShardsStatsSummaryItem
, this affects:snapshot.SnapshotShardsStatsSummary
's (previouslysnapshot.ShardsStatsSummary
)incremental
andtotal
fields.
- The
endOffset
,position
,positionLength
andstartOffset
properties have been corrected to be of typeint
instead oflong
.
- The
endOffset
,position
,positionLength
,startOffset
andtermFrequency
properties have been corrected to be of typeint
instead oflong
. - The
positionlength
andtermfrequency
properties have had their casing corrected topositionLength
andtermFrequency
respectively.
- The
recoveredFromSnapshotInBytes
,recoveredInBytes
,reusedInBytes
andtotalInBytes
properties have been corrected to be of typelong
instead ofString
.
- The
sourceThrottleTimeInMillis
,targetThrottleTimeInMillis
andtotalTimeInMillis
properties have been corrected to be of typelong
instead ofString
.
- The
restoreuuid
property has had its casing corrected torestoreUuid
.
- The
checkIndexTime
property has been corrected to be of typeTime
instead oflong
. - The
totalTimeInMillis
property has been corrected to be of typelong
instead ofString
.
- The
id
property has been corrected to be of typeint
instead oflong
. - The
startTimeInMillis
,stopTimeInMillis
andtotalTimeInMillis
properties have been corrected to be of typelong
instead ofString
. - The
totalTime
property has been corrected to be of typeTime
instead ofString
.
- The
recovered
,total
andtotalOnStart
properties have been corrected to be of typeint
instead oflong
. - The
totalTime
property has been corrected to be of typeTime
instead ofString
. - The
totalTimeInMillis
property has been corrected to be of typelong
instead ofString
.
- The
checkIndexTimeInMillis
andtotalTimeInMillis
properties have been corrected to be of typelong
instead ofString
.
- The
mappings
property is now of typeTypeMapping
instead ofIndexRolloverMapping
.
- The
IndexRolloverMapping
class has been removed.
- The
deletedDocs
andnumDocs
properties have been corrected to be of typeint
instead oflong
. - The
memoryInBytes
andsizeInBytes
properties have been corrected to be of typelong
instead ofdouble
.
- The
attributes
,id
,legacyVersion
,name
andtransportAddress
properties have been removed and are now correctly nested within theNodeAttributes
under thenodes
property map.
- The
totalTime
property has been corrected to be of typeTime
instead ofString
.
- The
existsTime
,missingTime
andtime
properties have been corrected to be of typeTime
instead ofString
.
- The
deleteTime
,indexTime
andthrottleTime
properties have been corrected to be of typeTime
instead ofString
. - The
types
property has been removed as it is no longer supported by OpenSearch as of version 2.0.0.
- The
totalStoppedTime
,totalThrottledTime
andtotalTime
properties have been corrected to be of typeTime
instead ofString
.
- The
throttleTime
property has been corrected to be of typeTime
instead ofString
.
- The
totalTime
property has been corrected to be of typeTime
instead ofString
.
- The
storedMemory
property has been renamed tostoredFieldsMemory
to match the OpenSearch response.
- The
totalDataSetSize
andtotalDataSetSizeInBytes
properties have been removed as they are not returned by OpenSearch.
- The
operations
property has been corrected to be of typeint
instead oflong
.
- The
totalTime
property has been corrected to be of typeTime
instead ofString
.
- The
metric
property is now of typeList<IndicesStatsMetric>
instead ofList<String>
. - The
types
property has been removed as it is no longer supported by OpenSearch as of version 2.0.0.
- The
all
property is now of typeAllIndicesStats
instead ofIndicesStats
.
- The
ShardStats
class has been renamed toIndexShardStats
, this affects:IndicesStats
'sshards
field.
- The
allocationDelay
,configuredDelay
andremainingDelay
properties have been corrected to be of typeTime
instead ofString
.
- The
aliases
,mappings
andsettings
properties have been removed as they should be set within thetemplate
property.
- The
level
property is now of typeClusterHealthLevel
instead ofLevel
.
- The
activeShardsPercentAsNumber
property has been corrected to be of typedouble
instead ofString
. - The
taskMaxWaitingInQueueMillis
property has been corrected to be of typelong
instead ofString
.
- The
timeInQueue
property has been corrected to be of typeTime
instead ofString
. - The
timeInQueueMillis
property has been corrected to be of typelong
instead ofint
.
- The
metric
property is now of typeList<ClusterRerouteMetric>
instead ofList<String>
.
- The
metric
property is now of typeList<ClusterStateMetric>
instead ofList<String>
.
- The
primaries
,replication
andtotal
properties have been corrected to be of typeInteger
instead ofDouble
.
- The
percent
property has been corrected to be of typedouble
instead ofint
.
- The
scriptCount
property has been removed as it is not supported by OpenSearch.
- The
runtimeFieldTypes
property has been removed as it is not supported by OpenSearch.
- The
freePercent
andusedPercent
properties have been corrected to be of typedouble
instead ofint
.