forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
2,510 additions
and
941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
distribution/docker/wolfi-ess-docker-aarch64-export/build.gradle
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
pr: 113975 | ||
summary: JDK locale database change | ||
area: Mapping | ||
type: breaking | ||
issues: [] | ||
breaking: | ||
title: JDK locale database change | ||
area: Mapping | ||
details: | | ||
{es} 8.16 changes the version of the JDK that is included from version 22 to version 23. This changes the locale database that is used by Elasticsearch from the COMPAT database to the CLDR database. This change can cause significant differences to the textual date formats accepted by Elasticsearch, and to calculated week-dates. | ||
If you run {es} 8.16 on JDK version 22 or below, it will use the COMPAT locale database to match the behavior of 8.15. However, starting with {es} 9.0, {es} will use the CLDR database regardless of JDK version it is run on. | ||
impact: | | ||
This affects you if you use custom date formats using textual or week-date field specifiers. If you use date fields or calculated week-dates that change between the COMPAT and CLDR databases, then this change will cause Elasticsearch to reject previously valid date fields as invalid data. You might need to modify your ingest or output integration code to account for the differences between these two JDK versions. | ||
Starting in version 8.15.2, Elasticsearch will log deprecation warnings if you are using date format specifiers that might change on upgrading to JDK 23. These warnings are visible in Kibana. | ||
For detailed guidance, refer to <<custom-date-format-locales,Differences in locale information between JDK versions>> and the https://ela.st/jdk-23-locales[Elastic blog]. | ||
notable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 114665 | ||
summary: Fixing remote ENRICH by pushing the Enrich inside `FragmentExec` | ||
area: ES|QL | ||
type: bug | ||
issues: | ||
- 105095 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 114990 | ||
summary: Allow for querries on `_tier` to skip shards in the `can_match` phase | ||
area: Search | ||
type: bug | ||
issues: | ||
- 114910 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 115117 | ||
summary: Report JVM stats for all memory pools (97046) | ||
area: Infra/Core | ||
type: bug | ||
issues: | ||
- 97046 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
pr: 115399 | ||
summary: Adding breaking change entry for retrievers | ||
area: Search | ||
type: breaking | ||
issues: [] | ||
breaking: | ||
title: Reworking RRF retriever to be evaluated during rewrite phase | ||
area: REST API | ||
details: |- | ||
In this release (8.16), we have introduced major changes to the retrievers framework | ||
and how they can be evaluated, focusing mainly on compound retrievers | ||
like `rrf` and `text_similarity_reranker`, which allowed us to support full | ||
composability (i.e. any retriever can be nested under any compound retriever), | ||
as well as supporting additional search features like collapsing, explaining, | ||
aggregations, and highlighting. | ||
To ensure consistency, and given that this rework is not available until 8.16, | ||
`rrf` and `text_similarity_reranker` retriever queries would now | ||
throw an exception in a mixed cluster scenario, where there are nodes | ||
both in current or later (i.e. >= 8.16) and previous ( <= 8.15) versions. | ||
As part of the rework, we have also removed the `_rank` property from | ||
the responses of an `rrf` retriever. | ||
impact: |- | ||
- Users will not be able to use the `rrf` and `text_similarity_reranker` retrievers in a mixed cluster scenario | ||
with previous releases (i.e. prior to 8.16), and the request will throw an `IllegalArgumentException`. | ||
- `_rank` has now been removed from the output of the `rrf` retrievers so trying to directly parse the field | ||
will throw an exception | ||
notable: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 115429 | ||
summary: "[otel-data] Add more kubernetes aliases" | ||
area: Data streams | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 115430 | ||
summary: Prevent NPE if model assignment is removed while waiting to start | ||
area: Machine Learning | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 115459 | ||
summary: Guard blob store local directory creation with `doPrivileged` | ||
area: Infra/Core | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 115594 | ||
summary: Update `BlobCacheBufferedIndexInput::readVLong` to correctly handle negative | ||
long values | ||
area: Search | ||
type: bug | ||
issues: [] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
[role="xpack"] | ||
[[stream-inference-api]] | ||
=== Stream inference API | ||
|
||
Streams a chat completion response. | ||
|
||
IMPORTANT: The {infer} APIs enable you to use certain services, such as built-in {ml} models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Azure, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face. | ||
For built-in models and models uploaded through Eland, the {infer} APIs offer an alternative way to use and manage trained models. | ||
However, if you do not plan to use the {infer} APIs to use these models or if you want to use non-NLP models, use the <<ml-df-trained-models-apis>>. | ||
|
||
|
||
[discrete] | ||
[[stream-inference-api-request]] | ||
==== {api-request-title} | ||
|
||
`POST /_inference/<inference_id>/_stream` | ||
|
||
`POST /_inference/<task_type>/<inference_id>/_stream` | ||
|
||
|
||
[discrete] | ||
[[stream-inference-api-prereqs]] | ||
==== {api-prereq-title} | ||
|
||
* Requires the `monitor_inference` <<privileges-list-cluster,cluster privilege>> | ||
(the built-in `inference_admin` and `inference_user` roles grant this privilege) | ||
* You must use a client that supports streaming. | ||
|
||
|
||
[discrete] | ||
[[stream-inference-api-desc]] | ||
==== {api-description-title} | ||
|
||
The stream {infer} API enables real-time responses for completion tasks by delivering answers incrementally, reducing response times during computation. | ||
It only works with the `completion` task type. | ||
|
||
|
||
[discrete] | ||
[[stream-inference-api-path-params]] | ||
==== {api-path-parms-title} | ||
|
||
`<inference_id>`:: | ||
(Required, string) | ||
The unique identifier of the {infer} endpoint. | ||
|
||
|
||
`<task_type>`:: | ||
(Optional, string) | ||
The type of {infer} task that the model performs. | ||
|
||
|
||
[discrete] | ||
[[stream-inference-api-request-body]] | ||
==== {api-request-body-title} | ||
|
||
`input`:: | ||
(Required, string or array of strings) | ||
The text on which you want to perform the {infer} task. | ||
`input` can be a single string or an array. | ||
+ | ||
-- | ||
[NOTE] | ||
==== | ||
Inference endpoints for the `completion` task type currently only support a | ||
single string as input. | ||
==== | ||
-- | ||
|
||
|
||
[discrete] | ||
[[stream-inference-api-example]] | ||
==== {api-examples-title} | ||
|
||
The following example performs a completion on the example question with streaming. | ||
|
||
|
||
[source,console] | ||
------------------------------------------------------------ | ||
POST _inference/completion/openai-completion/_stream | ||
{ | ||
"input": "What is Elastic?" | ||
} | ||
------------------------------------------------------------ | ||
// TEST[skip:TBD] | ||
|
||
|
||
The API returns the following response: | ||
|
||
|
||
[source,txt] | ||
------------------------------------------------------------ | ||
event: message | ||
data: { | ||
"completion":[{ | ||
"delta":"Elastic" | ||
}] | ||
} | ||
event: message | ||
data: { | ||
"completion":[{ | ||
"delta":" is" | ||
}, | ||
{ | ||
"delta":" a" | ||
} | ||
] | ||
} | ||
event: message | ||
data: { | ||
"completion":[{ | ||
"delta":" software" | ||
}, | ||
{ | ||
"delta":" company" | ||
}] | ||
} | ||
(...) | ||
------------------------------------------------------------ | ||
// NOTCONSOLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.