elasticsearch-query-builder icon indicating copy to clipboard operation
elasticsearch-query-builder copied to clipboard

Build and execute an Elasticsearch search query using a fluent PHP API

Results 11 elasticsearch-query-builder issues
Sort by recently updated
recently updated
newest added

Why was the php version updated for *all versions* to 8.0 ? Is this correct ?

elasticsearch/elasticsearch > v8.3.3 spatie/elasticsearch-query-builder > v2.0.0 PHP > v8.1.0 Laravel > v9.24.0 Class: `private $client_endpoint; private $client_user; private $client_password; private $client_certificate; public ?Client $client = null; public ?Builder $builder =...

With is useful for getting only the basic doc_count value.

Add support for returning the size and from at getPayload. Since size and from could be 0 e.g. when just using aggregations or on page 1. Check if var is...

While the elasticsearch docs make only an example of string values, other types work just fine.

add MatchPhraseQuery see #49

* Added tests for `NestedQuery`. * Updated `NestedQuery` to use promoted properties. * Added `ignore_unmapped` and `score_mode` to `NestedQuery`. * Added `inner_hits` ([https://www.elastic.co/guide/en/elasticsearch/reference/current/inner-hits.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/inner-hits.html)) to `NestedQuery` . * `name` is not...

Because the property allows for setting null, it would be nice if this is also allowed through the setter method.

* Adds support for the boost parameter in `TermsQuery`, similar to https://github.com/spatie/elasticsearch-query-builder/pull/42. * Updates the boost condition in `MatchQuery` to check for not null values instead of falsy values.

For service containers to correctly handle dependency injection we should pass the interface instead of the concrete implementation of the Elasticsearch PHP Client.