Last active
October 28, 2019 09:40
-
-
Save royib/b9c00fc5225c23c46817d2a25194d9c9 to your computer and use it in GitHub Desktop.
Querying Elasticsearch- Compound query
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
{ | |
"query": { | |
"bool": { | |
"must": { | |
"match": { | |
"mail_body": "Jeff BRidges" | |
} | |
}, | |
"filter": { | |
"term": { | |
"mail_from": "emma@somemail.com" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment