ElasticsearchDSL
ElasticsearchDSL copied to clipboard
Query DSL library for Elasticsearch
I'm working on updating this now as I need support for this in my current project. I'll submit a PR shortly.
Fuzzy and other queries were removed in 6.0, need to doublecheck the changes list.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-parent-id-query.html
For some reason, you've changed the correct `@param array|bool|string $source` to be `@param bool $source` in setSource() and now I'm getting warnings in PhpStorm when I pass an array to...
In the function we have: ```PHP $function = [ 'field_value_factor' => [ 'field' => $field, 'factor' => $factor, 'modifier' => $modifier, ], ]; ``` See "missing" [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-field-value-factor).
Under current implementation, parameters can be added to at the query level, or to the body of the shape, but no way of adding a relation type as it is...
Adding multiple field sorts overwrites previous additions. ```php $search = new Search(); // Add some queries... $sort1 = new FieldSort('acme1', null, ['order' => FieldSort::ASC]); $sort2 = new FieldSort('acme2', null, ['order'...
What is Search::setQueryParameters() for? Is it possible to pass a raw query to search?
Hi! I am trying to map a hash object from a mongdb collection, using object type , but I am geting null value. ```