Align LINQ-to-ES|QL integration with Elastic.Esql 0.11.0#8886
Merged
Conversation
- Bump `Elastic.Esql` 0.10.0 -> 0.11.0 - `EsqlQueryExecutor` uses `ElasticsearchStreamResponse` (sync) and `ElasticsearchPipeResponse` on NET10+ (async), matching the response types 0.11.0 expects. NET10+ async now uses the native `PipeReader` directly instead of wrapping the stream. - `EsqlNamespacedClient.QueryAsStreamAsync` return type is now `Task<ElasticsearchStreamResponse>`. - Remove the dead `EsqlQueryResponse` / `EsqlResponseBuilder` bridge and its registration: no call site requests the type as TResponse, and the 9.4.0 breaking-changes doc already declares its removal.
Contributor
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
flobernd
added a commit
that referenced
this pull request
Apr 22, 2026
… (#8887) Co-authored-by: Florian Bernd <git@flobernd.de>
flobernd
added a commit
that referenced
this pull request
Apr 22, 2026
#8888) Co-authored-by: Florian Bernd <git@flobernd.de>
flobernd
added a commit
that referenced
this pull request
Apr 22, 2026
#8889) Co-authored-by: Florian Bernd <git@flobernd.de>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Following the binary-response generator work (#8883), all ES|QL client methods return `Elastic.Transport.Products.Elasticsearch.ElasticsearchStreamResponse`. This PR aligns the handcrafted LINQ-to-ES|QL integration with that new contract and with the `Elastic.Esql` 0.11.0 release (which itself adopts the Elasticsearch-specific transport response types).
The corresponding docs entry is added on the 9.4.0 breaking-changes page in #8881 (main-only; this code change backports to the maintenance branches).