- 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.