elasticsearch-php
elasticsearch-php copied to clipboard
Official PHP client for Elasticsearch.
### Summary of problem or feature request I got this error when tried to create an index: ``` {"error":"Incorrect HTTP method for uri [/] and method [PUT], allowed: [HEAD, DELETE,...
Fixes #1097 * Adds additional thrown exception or 401 unauthorized. * Backports convertBodyToString method. * Handles responses with empty bodies.
### Summary of problem or feature request Edit: Since posting this, I identified that this is addressed in 7.x, while I was working with 6.x. I'm using the elasticsearch_connector Drupal...
A shared shim amongst clients used to automate delivery
As the method catches these exceptions and returns false in this case, those annotations are wrong because those exceptions are never thrown from this method. Since I'm not sure what...
Signed-off-by: Abdelhamid Benmeziane
There doesn't seem to be an automatic way to iterate over composite aggregation responses: https://www.elastic.co/guide/en/elasticsearch/reference/7.6/search-aggregations-bucket-composite-aggregation.html This is done by taking the _after_key_ field and then feeding it back to the...
### Summary of problem or feature request a long script may have endless connection error in sniffConnecitonPoll state. ### Code snippet of problem my code is here. when the script...
### Summary of problem or feature request The file SmartSerializer.php encode $data into a json string if this variable is an array. If it is an empty array, you transform...
# Changed log - Using the `assertSame` to replace `assertEquals` to make assertion equals strict. - According to the [PHPUnit fixtures reference](https://phpunit.readthedocs.io/en/8.5/fixtures.html#more-setup-than-teardown), it should be the `protected function setUp` and...