Last active
July 24, 2020 13:10
-
-
Save Rotzke/0160292250d358aae542581e60f30e36 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
GET {index}/{type}/_search | |
{ | |
"size": 0, | |
"aggs": { | |
"{aggregation_name}": { | |
"terms": { | |
"field": "{filed_value}", | |
"size": 10 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment