Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Elasticsearch Dsl Laravel Package

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.

View on GitHub
Deep Wiki
Context7
v6.3.0

Changes in this release

  • Add support for PHP8.x
  • Upgraded minimum PHP version requirement to 7.3
v7.2.2

This release adds compatibility for php 8 and removes php 7.3 compatibility

Changes in this release

#349: Use Github Actions thanks to @shyim #350: Fixed for PHP 8 Compatibility thanks to @lernhart

  • Total issues resolved: 1
  • Total pull requests resolved: 2
  • Total contributors: 2
v7.1.3

This release only fixes compatibility for composer/composer:^2.0.

Changes in this release

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1
v7.2.1

This release only fixes compatibility for composer/composer:^2.0.

Changes in this release

  • Total issues resolved: 1
  • Total pull requests resolved: 2
  • Total contributors: 1
v6.2.0

Changes in this release

  • Add support for symfony serializer 5.0
  • Upgraded minimum PHP version requirement to 7.2
v6.1.2

Changes in this release

  • Removed support for symfony serializer 5.0 due incompatibility issues between v5 and v4

There will be a v6.2 version of this library to support serializer v5

v7.2.0

Changes in this release

  • Add support for symfony serializer 5.0
  • Upgraded minimum PHP version requirement to 7.2
v7.1.2

Changes in this release

  • Removed support for symfony serializer 5.0 due incompatibility issues between v5 and v4

There will be a v7.2 version of this library to support serializer v5

v7.1.1

Changes in this release

  • Add support for symfony serializer 5.0
v6.1.1

Changes in this release

  • Add support for symfony serializer 5.0
v7.1.0

Changes in this release

  • Add support for the Symfony 5
v6.1.0

Changes in this release

  • Add support for the Symfony 5
v7.0.0

Major version upgrade

Added support for Elasticsearch 7

v6.0.4

Changes in this release

  • Adding param track_total_hits (#273)
  • Add getQuery Method to FunctionScoreQuery (#271)
  • added new NestedSort for replacing deprecated nested_filter and nested_path (#267)
  • fix get bool doctype to get available hints (#274)
  • Initialize static serializer on wakeup (#288)
  • Introducing field aware trait and named builder interface
  • Added "Missing" support to Field Value Factor (#247)
  • Added support for 'keyed' option to DateRangeAggregation (#283) (#287)
  • Add more scalar types to function ParametersTrait (#278)
  • Allow more scalar values in TermQuery (#275)
v5.0.7

Changes in this release

  • Added "Missing" support to Field Value Factor (#247)
  • Added support for 'keyed' option to DateRangeAggregation (#283) (#287)
  • Add more scalar types to function ParametersTrait (#278)
  • Allow more scalar values in TermQuery (#275)
v6.0.3

Changes in this release

  • Fixed coveralls phpunit tests coverage report
  • Added parent id query
  • Added field masking span query
  • Added significant text agg
  • Added moving function agg
  • Added bucket sort agg
  • Added composite agg
  • Added auto date histogram agg
  • Added adjacency matrix agg
  • Improved test coverage
v6.0.2

Changes in this release

  • Allow all versions of random_compact library.
v5.0.6

Changes in this release

  • Allow all versions of random_compact library.
v5.0.5

Changes in this release

  • Serializer improvements #268
v5.0.4

Changes in this release

  • Fixed bool query structure when the body is empty #263
v6.0.1

Change in this release

  • Minor fixes
  • Added weight option to the decay function #262
v5.0.3

Change in this release

  • Minor fixes
  • Added weight option to the decay function #262
v6.0.0

Changes in this release

New stable version for Elasticsaerch 6.

  • Supports Symfony 3.x and 4.x
  • elasticsearch/elasticsearch moved to composer required dev dependencies
  • Dropped PHP 5 support
  • Added Elasticsearch 6 support
v6.0.0-beta

Changes in this release

  • Dropped PHP 5 support
  • Added Elasticsearch 6 support
v5.0.2

Changes in this release

  • Allow lower random_compat version (#228)
  • Adding missing '_source_exclude' and '_source_include' parameters to URI whitelist (#229)
v5.0.1

Changes in this release

  • Added missing scroll param to URL params (#202)
5.0.0

Changes in this release

New major version. The most important change is to add support for Elasticseach >=5.

To upgrade from 2.x to 5.x:

  • Namespace for some queries were changed. Queries were consolidated to a domain like Elasticsearch does. All queries were grouped to Compound, FullText, Geo, Joining, Span, Specialized and TermLevel.
  • Search::setFields() and Search::getFields() were changed to Search::setStoredFields() and Search::getStoredFields().
  • PHP version support changed to >=5.6
  • Added elasticsearch\elasticsearch to required dependency list in the composer.json.
  • Deprecated aggregations removed. Check if the namespace is correct. All aggregations grouped to 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.
v2.2.2

Changes in this release

  • Changed query structure by grouping queries. #195

Like aggs, all queries are grouped to its domain level namespace (compound, term, etc). In 5.0 it will be removed.

v2.2.1

Changes in this release

  • Fixed function score for 2.x elastic.
  • Fixed bug in nested and reverse nested aggregations. (#173)
  • Fixed bool query key assign for some OS to avoid duplication.
v2.2.0

Changes in this release

  • Added support for elasticsearch 5.0 #166
  • Added functional tests to test library on elasticsearch 2.4 and 5.0

Notice

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony
spatie/flare-daemon-runtime