Skip to content

Commit

Permalink
Fix filter scope in bool query (elastic#60488)
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens authored and cjcenizal committed Mar 18, 2020
1 parent f73fa4e commit 2b52b61
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,11 @@ export function queryDsl(api) {
__scope_link: '.',
},
],
filter: {
__scope_link: 'GLOBAL.filter',
},
filter: [
{
__scope_link: 'GLOBAL.filter',
},
],
minimum_should_match: 1,
boost: 1.0,
},
Expand Down

0 comments on commit 2b52b61

Please sign in to comment.