Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
es query for version 7
{
"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