Elasticsearch breaking changes
editElasticsearch breaking changes
editThis list summarizes the most important breaking changes in Elasticsearch 7.10.2. For the complete list, go to Elasticsearch breaking changes.
Authentication changes
editAPI keys now require a name
property.
Details
The name
property is now required to create or grant an API key.
{ "...": "...", "api_key": { "name": "key-1" } }
Impact
To avoid errors, specify the name
property when creating or granting API keys.
Java changes
editThe MappedFieldType#fielddataBuilder
method now accepts a Supplier<SearchLookup>
argument.
Details
To support future feature development, the existing
MappedFieldType#fielddataBuilder
method now accepts a new
Supplier<SearchLookup>
argument.
Impact
If you develop or maintain a mapper plugin, update your implementation of the
MappedFieldType#fielddataBuilder
method to accommodate the new signature.
Networking changes
editThe *.tcp.keep_idle
and *.tcp.keep_interval
settings are now limited to 300
seconds.
Details
The {network,transport,http}.tcp.keep_idle
and
{network,transport,http}.tcp.keep_interval
settings now have a maximum
value of 300
seconds, equivalent to 5 minutes.
Impact
If specified, ensure the {network,transport,http}.tcp.keep_idle
and
{network,transport,http}.tcp.keep_interval
settings do not exceed 300
seconds. Setting {network,transport,http}.tcp.keep_idle
or
{network,transport,http}.tcp.keep_interval
to a value greater than 300
seconds in elasticsearch.yml
will result in an error on startup.
Search changes
editThe index.max_docvalue_fields_search
setting now limits doc value fields returned by inner_hits
or the top_hits
aggregation.
Details
The index.max_docvalue_fields_search
setting limits the number of doc value
fields retrieved by a search. Previously, this setting applied only to doc value
fields returned by the docvalue_fields
parameter in a top-level search. The
setting now also applies to doc value fields returned by an inner_hits
section
or top_hits
aggregation.
Impact
If you use inner_hits
or the top_hits
aggregation, ensure
index.max_docvalue_fields_search
is configured correctly for your use case.