-
-
Save Omega359/a2bcb743950bcd84dd9a 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" : { | |
"relationships.contact_addresses.contact_address_buildingName.plain" : "Batman Building" | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment