ElasticsearchDSL
ElasticsearchDSL copied to clipboard
Query DSL library for Elasticsearch
I'm trying to extend the Search but getting an error: ``` use ONGR\ElasticsearchDSL\Search; class ProductSearch extends Search { } Error on private initializeSerializer method: `Cannot access property ElasticSearch\Searches\ProductSearch::$serializer` PHP: 7.2.26
i am setup the project with docker where one these package used when i try to run https://we.tl/t-tmbSb0B8lz
The `_source` field can be `false` or a string/array that contains the fields that should be returned. See: https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-source-filtering.html
Since `BucketScriptAggregation` constructor accepts `array` type of `$bucketsPath` parameter, the parent class should also accept arrays in its setter (`setBucketsPath`).
Allow to usage of ES5/6 and Symfony 5
This allow to get in ES7 again to total as int instead of an object.
Fixes https://github.com/ongr-io/ElasticsearchDSL/issues/321
Would be nice to have the ability to sort results by [geo distance](https://www.elastic.co/guide/en/elasticsearch/reference/6.5/search-request-sort.html#geo-sorting).