Elasticsearch version 8.15.0
editElasticsearch version 8.15.0
editAlso see Breaking changes in 8.15.
Known issues
edit-
The
pytorch_inference
process used to run Machine Learning models can consume large amounts of memory. In environments where the available memory is limited, the OS Out of Memory Killer will kill thepytorch_inference
process to reclaim memory. This can cause inference requests to fail. Elasticsearch will automatically restart thepytorch_inference
process after it is killed up to four times in 24 hours. (issue: #110530) -
Pipeline aggregations under
time_series
andcategorize_text
aggregations are never returned (issue: #111679) -
Elasticsearch will not start on Windows machines if
[
bootstrap.memory_lock
is set totrue
](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration-memory.html#bootstrap-memory_lock). Either downgrade to an earlier version, upgrade to 8.15.1, or else follow the recommendation in the manual to entirely disable swap instead of using the memory lock feature (issue: #111847) -
The
took
field of the response to the Bulk API is incorrect and may be rather large. Clients which incorrectly assume that this value will be within a particular range (e.g. that it fits into a 32-bit signed integer) may encounter errors (issue: #111854) -
Elasticsearch will not start if custom role mappings are configured using the
xpack.security.authc.realms.*.files.role_mapping
configuration option. As a workaround, custom role mappings can be configured using the REST API (issue: #112503) -
ES|QL queries can lead to node crashes due to Out Of Memory errors when:
- Multiple indices match the query pattern
- These indices have many conflicting field mappings
-
Many of those fields are included in the request These issues deplete heap memory, increasing the likelihood of OOM errors. (issue: #111964, #111358). In Kibana, you might indirectly execute these queries when using Discover, or adding a Field Statistics panel to a dashboard.
To work around this issue, you have a number of options:
- Downgrade to an earlier version
- Upgrade to 8.15.2 upon release
- Follow the instructions to disable ES|QL queries in Kibana
- Change the default data view in Discover to a smaller set of indices and/or one with fewer mapping conflicts.
-
Synthetic source bug. Synthetic source may fail generating the _source at runtime, causing failures in get APIs or partial failures in the search APIs. The result is that for the affected documents the _source can’t be retrieved. There is no workaround and the only option to is to upgrade to 8.15.2 when released.
If you use synthetic source then you may be affected by this bug if the following is true: If you have more fields then the
index.mapping.total_fields.limit
setting allows. If you use dynamic mappings and theindex.mapping.total_fields.ignore_dynamic_beyond_limit
setting is enabled.
Breaking changes
editBug fixes
edit- Aggregations
-
-
Don’t sample calls to
ReduceContext#consumeBucketsAndMaybeBreak
insInternalDateHistogram
andInternalHistogram
during reduction #110186 -
Fix
ClassCastException
in Significant Terms #108429 (issue: #108427) - Run terms concurrently when cardinality is only lower than shard size #110369 (issue: #105505)
-
Don’t sample calls to
- Allocation
- Analysis
-
- Correct positioning for unique token filter #109395
- Authentication
- Authorization
- Autoscaling
-
-
Expose
?master_timeout
in autoscaling APIs #108759
-
Expose
- CRUD
-
- Update checkpoints after post-replication actions, even on failure #109908
- Cluster Coordination
- Data streams
- Distributed
- Downsampling
- ES|QL
-
- ESQL: Change "substring" function to not return null on empty string #109174
- ESQL: Fix Join references #109989
- ESQL: Fix LOOKUP attribute shadowing #109807 (issue: #109392)
- ESQL: Fix Max doubles bug with negatives and add tests for Max and Min #110586
-
ESQL: Fix
IpPrefix
function not handling correctlyByteRefs
#109205 (issue: #109198) -
ESQL: Fix equals
hashCode
for functions #107947 (issue: #104393) - ESQL: Fix variable shadowing when pushing down past Project #108360 (issue: #108008)
- ESQL: Validate unique plan attribute names #110488 (issue: #110541)
- ESQL: change from quoting from backtick to quote #108395
- ESQL: make named params objects truly per request #110046 (issue: #110028)
- ES|QL: Fix DISSECT that overwrites input #110201 (issue: #110184)
- ES|QL: limit query depth to 500 levels #108089 (issue: #107752)
- ES|QL: reduce max expression depth to 400 #111186 (issue: #109846)
- Fix ST_DISTANCE Lucene push-down for complex predicates #110391 (issue: #110349)
-
Fix
ClassCastException
with MV_EXPAND on missing field #110096 (issue: #109974) - Fix bug in union-types with type-casting in grouping key of STATS #110476 (issues: #109922, #110477)
- Fix for union-types for multiple columns with the same name #110793 (issues: #110490, #109916)
- [ESQL] Count_distinct(_source) should return a 400 #110824
- [ESQL] Fix parsing of large magnitude negative numbers #110665 (issue: #104323)
-
[ESQL] Migrate
SimplifyComparisonArithmetics
optimization #109256 (issues: #108388, #108743)
- Engine
-
-
Async close of
IndexShard
#108145
-
Async close of
- Highlighting
-
- Fix issue with returning incomplete fragment for plain highlighter #110707
- ILM+SLM
-
-
Allow
read_slm
to call GET /_slm/status #108333
-
Allow
- Indices APIs
-
-
Create a new
NodeRequest
for everyNodesDataTiersUsageTransport
use #108379
-
Create a new
- Infra/Core
-
- Add a cluster listener to fix missing node features after upgrading from a version prior to 8.13 #110710 (issue: #109254)
- Add bounds checking to parsing ISO8601 timezone offset values #108672
- Fix native preallocate to actually run #110851
- Ignore additional cpu.stat fields #108019 (issue: #107983)
- Specify parse index when error occurs on multiple datetime parses #108607
- Infra/Metrics
-
-
Provide document size reporter with
MapperService
#109794
-
Provide document size reporter with
- Infra/Node Lifecycle
- Infra/REST API
- Ingest Node
-
- Fix Dissect with leading non-ascii characters #111184
- Fix enrich policy runner exception handling on empty segments response #111290
- GeoIP tasks should wait longer for master #108410
-
Removing the use of Stream::peek from
GeoIpDownloader::cleanDatabases
#110666 -
Simulate should succeed if
ignore_missing_pipeline
#108106 (issue: #107314)
- Machine Learning
-
- Allow deletion of the ELSER inference service when reference in ingest #108146
-
Avoid
InferenceRunner
deadlock #109551 -
Correctly handle duplicate model ids for the
_cat
trained models api and usage statistics #109126 - Do not use global ordinals strategy if the leaf reader context cannot be obtained #108459
- Fix NPE in trained model assignment updater #108942
- Fix serialising inference delete response #109384
- Fix "stack use after scope" memory error #2673
-
Fix trailing slash in
ml.get_categories
specification #110146 - Handle any exception thrown by inference #2680
- Increase response size limit for batched requests #110112
- Offload request to generic threadpool #109104 (issue: #109100)
- Propagate accurate deployment timeout #109534 (issue: #109407)
- Refactor TextEmbeddingResults to use primitives rather than objects #108161
-
Require question to be non-null in
QuestionAnsweringConfig
#107972 - Start Trained Model Deployment API request query params now override body params #109487
- Suppress deprecation warnings from ingest pipelines when deleting trained model #108679 (issue: #105004)
- Use default translog durability on AD results index #108999
- Use the multi node routing action for internal inference services #109358
-
[Inference API] Extract optional long instead of integer in
RateLimitSettings#of
#108602 - [Inference API] Fix serialization for inference delete endpoint response #110431
-
[Inference API] Replace
model_id
withinference_id
in inference API except when stored #111366
- Mapping
- Network
- Packaging
- Ranking
- Rollup
-
- Fix trailing slash in two rollup specifications #110176
- Search
-
-
Adding score from
RankDoc
toSearchHit
#108870 - Better handling of multiple rescorers clauses with LTR #109071
- Correct query profiling for conjunctions #108122 (issue: #108116)
-
Fix
DecayFunctions'
toString
#107415 (issue: #100870) - Fix leak in collapsing search results #110927
- Fork freeing search/scroll contexts to GENERIC pool #109481
-
Adding score from
- Security
- Snapshot/Restore
-
- Stricter failure handling in multi-repo get-snapshots request handling #107191
- TSDB
- Transform
-
-
Always pick the user
maxPageSize
value #109876 (issue: #109844) - Exit gracefully when deleted #107917 (issue: #107266)
- Fix NPE during destination index creation #108891 (issue: #108890)
-
Forward
indexServiceSafe
exception to listener #108517 (issue: #108418) - Halt Indexer on Stop/Abort API #107792
-
Handle
IndexNotFoundException
#108394 (issue: #107263) - Prevent concurrent jobs during cleanup #109047
-
Redirect
VersionConflict
to reset code #108070 - Reset max page size to settings value #109449 (issue: #109308)
-
Always pick the user
- Vector Search
- Watcher
Deprecations
editEnhancements
edit- Aggregations
-
- Aggs: Scripted metric allow list #109444
- Enable inter-segment concurrency for low cardinality numeric terms aggs #108306
- Increase size of big arrays only when there is an actual value in the aggregators #107764
- Increase size of big arrays only when there is an actual value in the aggregators (Analytics module) #107813
-
Optimise
BinaryRangeAggregator
for single value fields #108016 - Optimise cardinality aggregations for single value fields #107892
- Optimise composite aggregations for single value fields #107897
- Optimise few metric aggregations for single value fields #107832
- Optimise histogram aggregations for single value fields #107893
- Optimise multiterms aggregation for single value fields #107937
- Optimise terms aggregations for single value fields #107930
- Speed up collecting zero document string terms #110922
- Allocation
- Application
- Authentication
-
- Expose API Key cache metrics #109078
- Authorization
- Data streams
-
- Add metrics@custom component template to metrics-- index template #109540 (issue: #109475)
- Apm-data: enable plugin by default #108860
- Apm-data: ignore malformed fields, and too many dynamic fields #108444
- Apm-data: improve default pipeline performance #108396 (issue: #108290)
- Apm-data: improve indexing resilience #108227
- Apm-data: increase priority above Fleet templates #108885
- Apm-data: increase version for templates #108340
- Apm-data: set codec: best_compression for logs-apm.* data streams #108862
-
Remove
default_field: message
from metrics index templates #110651
- Distributed
- ES|QL
-
-
Add
BlockHash
for 3BytesRefs
#108165 -
Allow
LuceneSourceOperator
to early terminate #108820 -
Check if
CsvTests
required capabilities exist #108684 - ESQL: Add aggregates node level reduction #107876
- ESQL: Add more time span units #108300
- ESQL: Implement LOOKUP, an "inline" enrich #107987 (issue: #107306)
-
ESQL: Renamed
TopList
to Top #110347 - ESQL: Union Types Support #107545 (issue: #100603)
- ESQL: add REPEAT string function #109220
- ES|QL Add primitive float support to the Compute Engine #109746 (issue: #109178)
- ES|QL Add primitive float variants of all aggregators to the compute engine #109781
- ES|QL: vectorize eval #109332
- Optimize ST_DISTANCE filtering with Lucene circle intersection query #110102 (issue: #109972)
- Optimize for single value in ordinals grouping #108118
- Rewrite away type converting functions that do not convert types #108713 (issue: #107716)
- ST_DISTANCE Function #108764 (issue: #108212)
- Support metrics counter types in ESQL #107877
- [ESQL] CBRT function #108574
-
[ES|QL] Convert string to datetime when the other size of an arithmetic operator is
date_period
ortime_duration
#108455 -
[ES|QL] Support Named and Positional Parameters in
EsqlQueryRequest
#108421 (issue: #107029) -
[ES|QL]
weighted_avg
#109993
-
Add
- Engine
- Geo
-
-
Optimize
GeoBounds
andGeoCentroid
aggregations for single value fields #107663
-
Optimize
- Health
-
-
Log details of non-green indicators in
HealthPeriodicLogger
#108266
-
Log details of non-green indicators in
- Highlighting
- Infra/Core
-
- Add allocation explain output for THROTTLING shards #109563
- Create custom parser for ISO-8601 datetimes #106486 (issue: #102063)
- Extend ISO8601 datetime parser to specify forbidden fields, allowing it to be used on more formats #108606
- add Elastic-internal stable bridge api for use by Logstash #108171
- Infra/Metrics
-
- Add auto-sharding APM metrics #107593
-
Add request metric to
RestController
to track success/failure (by status code) #109957 - Allow RA metrics to be reported upon parsing completed or accumulated #108726
-
Provide the
DocumentSizeReporter
with index mode #108947 -
Return noop instance
DocSizeObserver
for updates with scripts #108856
- Ingest Node
-
-
Add
continent_code
support to the geoip processor #108780 (issue: #85820) - Add support for the Connection Type database to the geoip processor #108683
- Add support for the Domain database to the geoip processor #108639
- Add support for the ISP database to the geoip processor #108651
-
Adding
hits_time_in_millis
andmisses_time_in_millis
to enrich cache stats #107579 -
Adding
user_type
support for the enterprise database for the geoip processor #108687 - Adding human readable times to geoip stats #107647
- Include doc size info in ingest stats #107240 (issue: #106386)
- Make ingest byte stat names more descriptive #108786
- Return ingest byte stats even when 0-valued #108796
- Test pipeline run after reroute #108693
-
Add
- Logs
- Machine Learning
-
- Add Anthropic messages integration to Inference API #109893
-
Add
sparse_vector
query #108254 - Add model download progress to the download task status #107676
- Add rate limiting support for the Inference API #107706
- Add the rerank task to the Elasticsearch internal inference service #108452
- Default the HF service to cosine similarity #109967
- GA the update trained model action #108868
- Handle the "JSON memory allocator bytes" field #109653
- Inference Processor: skip inference when all fields are missing #108131
- Log 'No statistics at.. ' message as a warning #2684
- Optimise frequent item sets aggregation for single value fields #108130
- Sentence Chunker #110334
- [Inference API] Add Amazon Bedrock Support to Inference API #110248
- [Inference API] Add Mistral Embeddings Support to Inference API #109194
- [Inference API] Check for related pipelines on delete inference endpoint #109123
- Mapping
-
- Add ignored field values to synthetic source #107567
-
Apply FLS to the contents of
IgnoredSourceFieldMapper
#109931 - Binary field enables doc values by default for index mode with synthe… #107739 (issue: #107554)
- Feature/annotated text store defaults #107922 (issue: #107734)
-
Handle
ignore_above
in synthetic source for flattened fields #110214 - Opt in keyword field into fallback synthetic source if needed #110016
- Opt in number fields into fallback synthetic source when doc values a… #110160
- Reflect latest changes in synthetic source documentation #109501
-
Store source for fields in objects with
dynamic
override #108911 - Store source for nested objects #108818
-
Support synthetic source for
geo_point
whenignore_malformed
is used #109651 -
Support synthetic source for
scaled_float
andunsigned_long
whenignore_malformed
is used #109506 -
Support synthetic source for date fields when
ignore_malformed
is used #109410 -
Support synthetic source together with
ignore_malformed
in histogram fields #109882 - Track source for arrays of objects #108417 (issue: #90708)
- Track synthetic source for disabled objects #108051
- Network
-
- Detect long-running tasks on network threads #109204
- Ranking
-
-
Enabling profiling for
RankBuilders
and adding tests for RRF #109470
-
Enabling profiling for
- Relevance
- Search
-
- Add AVX-512 optimised vector distance functions for int7 on x64 #109084
-
Add
SparseVectorStats
#108793 -
Add
_name
support for top levelknn
clauses #107645 (issues: #106254, #107448) - Add a SIMD (AVX2) optimised vector distance function for int7 on x64 #108088
-
Add min/max range of the
event.ingested
field to cluster state for searchable snapshots #106252 - Add per-field KNN vector format to Index Segments API #107216
- Add support for hiragana_uppercase & katakana_uppercase token filters in kuromoji analysis plugin #106553
- Adding support for explain in rrf #108682
- Allow rescorer with field collapsing #107779 (issue: #27243)
- Cut over stored fields to ZSTD for compression #103374
- Limit the value in prefix query #108537 (issue: #108486)
- Make dense vector field type updatable #106591
- Multivalue Sparse Vector Support #109007
- Security
- Snapshot/Restore
- Stats
-
- DocsStats: Add human readable bytesize #109720
- TSDB
- Vector Search
New features
edit- Aggregations
-
-
Opt
scripted_metric
out of parallelization #109597
-
Opt
- Application
-
- [Connector API] Add claim sync job endpoint #109480
- ES|QL
- Infra/REST API
-
- Add a capabilities API to check node and cluster capabilities #106820
- Ingest Node
- Logs
- Machine Learning
-
- Add support for Azure AI Studio embeddings and completions to the inference service. #108472
- Mapping
-
-
Add
semantic_text
field type andsemantic
query #110338 - Add generic fallback implementation for synthetic source #108222
-
Add synthetic source support for
geo_shape
via fallback implementation #108881 - Add synthetic source support for binary fields #107549
- Enable fallback synthetic source by default #109370 (issue: #106460)
-
Enable fallback synthetic source for
point
andshape
#109312 -
Enable fallback synthetic source for
token_count
#109044 - Implement synthetic source support for annotated text field #107735
- Implement synthetic source support for range fields #107081
- Support arrays in fallback synthetic source implementation #108878
-
Support synthetic source for
aggregate_metric_double
when ignore_malf… #108746
-
Add
- Ranking
-
- Add text similarity reranker retriever #109813
- Relevance
-
- Mark Query Rules as GA #110004
- Search
- Security
-
- Query Roles API #108733
- Transform
-
- Introduce _transform/_node_stats API #107279
- Vector Search
-
-
Adds new
bit
element_type
fordense_vectors
#110059
-
Adds new