Elastica icon indicating copy to clipboard operation
Elastica copied to clipboard

Elastica is a PHP client for elasticsearch

Results 132 Elastica issues
Sort by recently updated
recently updated
newest added

### Problem: I need to retrieve index settings like 'max_result_window' but in the response body default value is not returned, in order to fetch the default value need to add...

Raising PHPStan level to 6 shows missing types, this PR tries to add missing types and generics (we still need to add iterable types).

In order to reach PHPStan level 6, we need to specify iterable types, in this case this is done in the `Cluster` namespace.

Most of the ignored errors are expected because they are testing exceptions using wrong types and PHPStan complains about that. Like: https://github.com/ruflin/Elastica/blob/8fe61767b604a10e40b0b59c9511c4317cae3cb8/tests/Aggregation/GeohashGridTest.php#L51-L57 ``` ------ --------------------------------------------------------------------------------------------------------------------- Line tests/Aggregation/GeohashGridTest.php ------ --------------------------------------------------------------------------------------------------------------------- 56...

Here we have the same situation as before about types, in this case `origin` and `scale` are required as `string`, but in `tests` there are some calls with `int` and...

Thinking about `8.0` I think we should mark as many classes as possible with `@final` to let the user know that they will become `final` in `8.0`. This will ease...

Hello We currently use elastica bundle in a Symfony 4.4 application with an ElasticSEach 6.8 cluster. We want to upgrade to ElasticSearch Cluster 7.X. Do we have to be synchronous...

When i use elastica, and configure my host to be `elastic.dev` everything is fine, but if i use `elastic.dev/` i'm unable to connect. Maybe this normal for elastic, but it...