Fix filter scope in bool query (#60488) (#60541)

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
This commit is contained in:
CJ Cenizal 2020-03-18 13:06:37 -07:00 committed by GitHub
parent f73fa4e462
commit 13680941f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
},