-
-
Save Omega359/be0ce1838bb93e693c60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"size" : 5, | |
"query" : { | |
"filtered" : { | |
"query" : { | |
"bool" : { | |
"should" : [ { | |
"filtered" : { | |
"query" : { | |
"bool" : { | |
"should" : [ { | |
"field" : { | |
"*.contact_address_region" : "Ontario" | |
} | |
} ] | |
} | |
}, | |
"filter" : { | |
"type" : { | |
"value" : "HCP" | |
} | |
} | |
} | |
} ] | |
} | |
}, | |
"filter" : { | |
"bool" : { | |
"must" : { | |
"term" : { | |
"*.contact_address_buildingName.plain" : "Batman Building" | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment