ongr/elasticsearch-dsl
Object-oriented Elasticsearch query builder for PHP. Build searches, filters, aggregations and more with a DSL, then export to arrays for elasticsearch-php or ONGR ElasticsearchBundle. Supports Elasticsearch 5/6/7 via versioned releases.
This release only fixes compatibility for composer/composer:^2.0.
This release only fixes compatibility for composer/composer:^2.0.
There will be a v6.2 version of this library to support serializer v5
There will be a v7.2 version of this library to support serializer v5
Added support for Elasticsearch 7
track_total_hits (#273)random_compact library.random_compact library.New stable version for Elasticsaerch 6.
elasticsearch/elasticsearch moved to composer required dev dependenciesNew major version. The most important change is to add support for Elasticseach >=5.
To upgrade from 2.x to 5.x:
Compound, FullText, Geo, Joining, Span, Specialized and TermLevel.Search::setFields() and Search::getFields() were changed to Search::setStoredFields() and Search::getStoredFields().elasticsearch\elasticsearch to required dependency list in the composer.json.Bucketing, Metric and Pipeline namespaces.Search::getQueryParams() changed to Search::getUriParams(). All setter's for request URI parameters removed in favor of uriParams container. You can add URI parameters by addUriParam, and this function also has validation.FilterEndpoint was removed due to deprecated filters in elasticsearch.Like aggs, all queries are grouped to its domain level namespace (compound, term, etc). In 5.0 it will be removed.
ONGR\ElasticsearchDSL\Query\MatchAllQuery:toArray() now returns \std() instead of empty array. This is because elasticsearch 5.0 client now doesn't accept empty array.
How can I help you explore Laravel packages today?