Skip to content

Commit

Permalink
fix: rename underscored to dots for nested queries
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 authored and nodkz committed Apr 8, 2019
1 parent 05fd45f commit 99e53e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/elasticDSL/Query/Query.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ export function prepareQueryInResolve(
if (query.bool) {
query.bool = prepareBoolInResolve(query.bool, fieldMap);
}
if (query.nested && query.nested.query) {
query.nested.query = prepareQueryInResolve(query.nested.query, fieldMap);
}
if (query.constant_score) {
query.constant_score = prepareConstantScoreInResolve(query.constant_score, fieldMap);
}
Expand Down

0 comments on commit 99e53e2

Please sign in to comment.