elasticsearch-php icon indicating copy to clipboard operation
elasticsearch-php copied to clipboard

Official PHP client for Elasticsearch.

Results 73 elasticsearch-php issues
Sort by recently updated
recently updated
newest added

The `Elasticsearch\ConnectionPool\SniffingConnectionPool` is not able to parse IPv6 address when returning `publish_address` in the format `hostname/ip:port`. We need to change the regular expression in `SniffingConnectionPool::parseClusterState()` to manage hostname, IPv4 and...

We are missing the `query` parameters in the doc example generator. For instance the example [f8cc4b331a19ff4df8e4a490f906ee69](https://github.com/elastic/elasticsearch-php/blob/master/docs/examples/f8cc4b331a19ff4df8e4a490f906ee69.asciidoc) is missing the `v` parameter as query string: `GET /_cat/health?v` (see [here](https://raw.githubusercontent.com/elastic/built-docs/master/raw/en/elasticsearch/reference/master/alternatives_report.json))

Documentation

I was getting several deprecations notices so I added the return types that will be added to the PSR interfaces we use. For completeness here are the messages: ``` User...

### Summary of problem or feature request Elasticsearch PHP client claims it is compatible with PHP 8.2: https://github.com/elastic/elasticsearch-php/blob/1890f9d7fde076b5a3ddcf579a802af05b2e781b/composer.json#L19 When installing `elasticsearch/elasticsearch:^7.0` running PHP 8.2.0RC2 and making some requests, I get...

### Summary of problem or feature request I followed the [contributing guide](https://github.com/elastic/elasticsearch-php/blob/8.4/.github/CONTRIBUTING.md). When I tried to run the `RestSpecRunner` I got the following error: ``` ERROR: Host https://localhost:9200 is offline...

Documentation

This is a proposal for adding a `Response\Elasticsearch::mapTo($class = 'stdClass')` for mapping an ES|QL response into an object of a class `$class`. Here an example: ```php class Employee { public...

The engineering team here at Elastic is looking for developers to participate in research and feedback sessions to learn more about how you use our [PHP client](https://github.com/elastic/elasticsearch-php) and what improvements...

### Elasticsearch Version 6.8.0 ### Installed Plugins Sulu - SuluArticle/Bundle ### Java Version _bundled_ ### OS Version Ubuntu 20.04 ### Problem Description I'm working on a project using Sulu 2.4.15...

Array shape declaration of certain methods are not compatible with psalm 5.14.0+. ``` InvalidArgument - src/Service/Elastic/IndexService.php:114:55 - Argument 1 of Elastic\Elasticsearch\Endpoints\Indices::exists expects array{allow_no_indices: bool, error_trace: bool, expand_wildcards: Elastic\Elasticsearch\Endpoints\enum, filter_path: list,...