ElasticsearchDSL
ElasticsearchDSL copied to clipboard
Query DSL library for Elasticsearch
Hi, I am using version `7.2.1` of your library and I have just noticed that I cannot add weight attribute when I am adding field value factor function. Is this...
Adds PHP 8.0 support, but bumps minimum PHP version to 7.2, because PHPUnit 8 requires at least PHP 7.2.
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...
Collapse
Can you please add collapse? https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-collapse.html
Implemented requirements of the PHP 8
from elasticsearch API document, it specify the timezone of date histogram aggregation https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#datehistogram-aggregation-time-zone
* Enumerates available options for the shape type parameter * Includes unit test update demonstrating use of the `GeoShapeQuery::SHAPE_TYPE_ENVELOPE` constant Also includes fix to enable Xdebug 3 support in phpunit
- `paragonie/random_compat` is not needed as it is a polyfill for PHP < 7 - `require-dev: elasticsearch/elasticsearch` is not needed because it's already required - `suggest: elasticsearch/elasticsearch` is not needed...
According to elasticsearch documentation: ``` It was possible to set a seed without setting a field, but this has been deprecated as this requires loading fielddata on the _id field...
I really wanted to sort this out on my own but couldn't get it working in last 2 hours so asking for help, I need to create the following query:...