Skip to content

Commit

Permalink
- Fix for QueryBuilder version check `\Elastica\QueryBuilder\Version\…
Browse files Browse the repository at this point in the history
…Version240.php` added all new query types to queries array. ruflin#1266
  • Loading branch information
bopop committed Mar 14, 2017
1 parent 44782d0 commit f6f634b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file based on the

- Fix reading bool index settings like `\Elastica\Index\Settings::getBlocksWrite`. Elasticsearch returns all settings as strings and does not normalize bool values.
The getters now return the right bool value for whichever string representation is used like 'true', '1', 'on', 'yes'.
- Fix for QueryBuilder version check `\Elastica\QueryBuilder\Version\Version240.php` added all new query types to queries array.

### Added

Expand Down
3 changes: 3 additions & 0 deletions lib/Elastica/QueryBuilder/Version/Version240.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ class Version240 extends Version
'terms',
'wildcard',
'geo_distance',
'exists',
'type',
'percolate',
];

protected $aggregations = [
Expand Down

0 comments on commit f6f634b

Please sign in to comment.