ElasticsearchDSL
ElasticsearchDSL copied to clipboard
Query DSL library for Elasticsearch
Allow null 'format' in DateRangeAggregation Without this, calling: ``` $ranges[] = ['from' => time()-1000, 'to' => time(), 'key' => 'time_range']; $rangeAgg = new DateRangeAggregation('myagg', 'created', null, $ranges, true); ``` results...
See https://github.com/grafana/grafana/issues/19911 In ElasticSearch 7.2, the `interval` property was deprecated ( https://www.elastic.co/guide/en/elasticsearch/reference/7.2/search-aggregations-bucket-datehistogram-aggregation.html#_calendar_and_fixed_intervals ): https://github.com/ongr-io/ElasticsearchDSL/blob/b4c3c8982bca497661139a1c2967a81f8f9bb9b6/src/Aggregation/Bucketing/DateHistogramAggregation.php#L92-L111 Either `calendar_interval` or `fixed_interval` should be used instead: https://www.elastic.co/guide/en/elasticsearch/reference/8.0/search-aggregations-bucket-datehistogram-aggregation.html#calendar_and_fixed_intervals
The 7.2 version is unusable for Projects depending on Symfony LTS (4.4). Can you maybe consider supporting Symfony 4.4 and 5? https://github.com/ongr-io/ElasticsearchDSL/blob/7.2/composer.json#L15
like query: ` GET xxx/_search { "sort": { "_script": { "script": "Math.random()", "type": "number", "order": "asc" } }, "query": { } } ` I didn't find the relevant documents, and...
Latest version of tag `v6.2.0` doesn't exists renaming of `MaxAggregation.php` class. So this blocks updating to composer v2. [Diff](https://github.com/ongr-io/ElasticsearchDSL/compare/v6.2.0...6.2) between `v6.2.0` tag with `6.2` branch Please add new tag which...
php 8 support
Hi, i also ask the question in the [elasticsearch discuss](https://discuss.elastic.co/t/elasticsearch-php-vs-raw/275424/2). I execute a query within the extension elasticvue with following code: ``` { "query": { "bool": { "should": [ {...
It will be great to add php8 support(as dependency) https://www.php.net/releases/8.0/en.php
Thanks very much for this excellent library! We needed the ability to specify the source fields returned from a search, so we made this simple change to the Search class....
Add Github Actions