Skip to content

Commit

Permalink
Fix filter scope in bool query (#60488) (#60541)
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Louis Leysens <[email protected]>
  • Loading branch information
cjcenizal and jloleysens authored Mar 18, 2020
1 parent f73fa4e commit 1368094
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 1368094

Please sign in to comment.