Skip to content

Replace ElasticSearch driver with OpenSearch #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 23, 2025

Conversation

KurtThiemann
Copy link
Member

  • Remove ElasticSearch driver

  • Remove optional dependency on elasticsearch/elasticsearch

  • Add OpenSearch driver compatible with and PSR-18 HTTP client

  • Add support for basic and bearer authentication

  • Suggest shyim/opensearch-php-dsl as OpenSearch DSL query builder

@KurtThiemann KurtThiemann changed the title WIP: Replace ElasticSearch driver with OpenSearch Replace ElasticSearch driver with OpenSearch May 23, 2025
@matthi4s matthi4s requested a review from Copilot May 23, 2025 13:56
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the ElasticSearch driver with an OpenSearch driver and updates the documentation accordingly. The changes also remove the optional dependency on elasticsearch/elasticsearch and suggest the use of shyim/opensearch-php-dsl.

Files not reviewed (13)
  • composer.json: Language not supported
  • src/Driver/DriverRegistry.php: Language not supported
  • src/Driver/Elasticsearch/Elasticsearch.php: Language not supported
  • src/Driver/OpenSearch/Authentication/BasicAuthentication.php: Language not supported
  • src/Driver/OpenSearch/Authentication/BearerAuthentication.php: Language not supported
  • src/Driver/OpenSearch/Authentication/OpenSearchAuthenticationInterface.php: Language not supported
  • src/Driver/OpenSearch/Exception/HttpErrorResponseException.php: Language not supported
  • src/Driver/OpenSearch/Exception/HttpException.php: Language not supported
  • src/Driver/OpenSearch/Exception/HttpTransportException.php: Language not supported
  • src/Driver/OpenSearch/Exception/OpenSearchException.php: Language not supported
  • src/Driver/OpenSearch/Exception/SerializeException.php: Language not supported
  • src/Driver/OpenSearch/OpenSearch.php: Language not supported
  • src/Driver/OpenSearch/OpenSearchHost.php: Language not supported

@matthi4s matthi4s merged commit 158d451 into aternosorg:master May 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants