Created
May 3, 2018 11:31
-
-
Save TheDeveloper/071a03d3ce0bccddbfa4fd9f270ab241 to your computer and use it in GitHub Desktop.
Example JSON body for an Elasticsearch search request
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
{ | |
"query": { | |
"bool": { | |
"filter": [ | |
{ "term": { "field1": "foo" } }, | |
{ "term": { "field2": "bar" } } | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment