Add Elasticsearch 9 and Elastica 9 support#1995
Merged
XWB merged 2 commits intoMay 28, 2026
Merged
Conversation
Contributor
Author
Member
|
I'm looking but cannot find a button to start the workflow. |
05986c1 to
a0c513b
Compare
Contributor
Author
|
@XWB it look likes unlocked today! |
74673b7 to
c5a522e
Compare
Allow installing Elastica 9 alongside Elastica 8 by removing usages of the removed `Elastica\Request` class and adapting the index template mapping builder to the new `_index_template` API exposed by Elastica 9's `IndexTemplate`. The CI matrix now runs the test suite against both Elasticsearch 8.12.0 and 9.0.0.
c5a522e to
14ae946
Compare
XWB
approved these changes
May 28, 2026
Member
|
Thanks for all the hard work :) |
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.
fix #1975
Allow installing Elastica 9 alongside Elastica 8 by removing usages of the removed
Elastica\Requestclass and adapting the index template mapping builder to the new_index_templateAPI exposed by Elastica 9'sIndexTemplate. The CI matrix now runs the test suite against both Elasticsearch 8.12.0 and 9.0.0.Some words about the
timeoutoption :Now elastic/elasticsearch-php works with any PSR http client, the default builtin implementation (
Elastic\Transport\Client) does not supporttimeout&headersoptions. For now, we add a reflection based fix but it would be nice to review this architecture by passthrough the http_client_options or creating adapter