Created
July 6, 2020 19:55
-
-
Save ORESoftware/4fb70d2f0a3b8a0c48e5452efe634f66 to your computer and use it in GitHub Desktop.
es query for version 7
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
{ | |
"from": 0, | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"simple_query_string": { | |
"query": "*" | |
} | |
}, | |
{ | |
"term": { | |
"organization_id": "fred" | |
} | |
}, | |
{ | |
"term": { | |
"tags": "monetization" | |
} | |
}, | |
{ | |
"term": { | |
"status": "duplicate" | |
} | |
} | |
] | |
} | |
}, | |
"size": 50, | |
"sort": { | |
"updated": "desc" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment