curl -XPOST 'localhost:9200/bank/_search?pretty' -d '
{
"size": 0,
"aggs": {
"group_by_state": {
"terms": {
"field": "state",
"size": 2
}
}
}
}'
curl -XPOST 'localhost:9200/bank/_search?pretty' -d '
{
"size": 0,
"aggs": {
"group_by_state": {
"terms": {
"field": "state",
"size": 2
}
}
}
}'
本文标题:Executing Aggregations
本文链接:https://www.haomeiwen.com/subject/ljarhttx.html
网友评论