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. #1266 (#1269)
  • Loading branch information
Zyqsempai authored and ruflin committed Mar 15, 2017
1 parent 5d28ecb commit a1629d4
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 a1629d4

Please sign in to comment.