Skip to content

Commit

Permalink
Fix filter scope in bool query
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Mar 18, 2020
1 parent fd16c46 commit 6bf58fb
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 6bf58fb

Please sign in to comment.