Skip to content

Commit 158d451

Browse files
authored
Merge pull request #15 from KurtThiemann/opensearch
Replace ElasticSearch driver with OpenSearch
2 parents b898383 + e7a3c55 commit 158d451

15 files changed

+586
-365
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Currently included drivers are:
3030
* [Redis](src/Driver/Redis/Redis.php)
3131
* [Cassandra](src/Driver/Cassandra/Cassandra.php)
3232
* [Mysqli](src/Driver/Mysqli/Mysqli.php)
33-
* [Elasticsearch](src/Driver/Elasticsearch/Elasticsearch.php)
33+
* [OpenSearch](src/Driver/OpenSearch/OpenSearch.php)
3434

3535
*All of these drivers require additional extensions or packages, see "suggest" in [composer.json](composer.json).*
3636

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
"minimum-stability": "stable",
2222
"require": {
2323
"php": ">=8.1",
24-
"ext-json": "*"
24+
"ext-json": "*",
25+
"psr/http-client": "^1.0",
26+
"psr/http-factory": "^1.1"
2527
},
2628
"require-dev": {
27-
"elasticsearch/elasticsearch": "^7.10",
2829
"phpunit/phpunit": "^10.5"
2930
},
3031
"autoload": {
@@ -42,6 +43,6 @@
4243
"ext-redis": "To use the Redis Cache driver",
4344
"ext-cassandra": "To use the Cassandra NoSQL driver",
4445
"ext-mysqli": "To use the Mysqli Relational driver",
45-
"elasticsearch/elasticsearch": "To use the Elasticsearch Search driver"
46+
"shyim/opensearch-php-dsl": "OpenSearch DSL query builder"
4647
}
4748
}

0 commit comments

Comments
 (0)