Created
November 29, 2018 23:48
-
-
Save adrianhall/34262ce0d72c4ae64bc2bd7c8a3e9bb0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"version":"2017-02-28", | |
"operation":"GET", | |
"path":"/_count", | |
"params":{ | |
"body": { | |
"query": { | |
"bool": { | |
"must": [ | |
{ "match": { "typeName": "FAVORITE" } }, | |
{ "match": { "locationId": "$context.source.id" } } | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment