ES进行如下聚合操作时,会报如题所示错误:
1 ➜ Downloads curl -XPOST 'localhost:9200/bank/_search?pretty' -d ' 2 { 3 "size": 0, 4 "aggs": { 5 "group_by_state": { 6 "terms": { 7 "field": "state" 8 } 9 } 10 } 11 }'
ES进行如下聚合操作时,会报如题所示错误:
1 ➜ Downloads curl -XPOST 'localhost:9200/bank/_search?pretty' -d ' 2 { 3 "size": 0, 4 "aggs": { 5 "group_by_state": { 6 "terms": { 7 "field": "state" 8 } 9 } 10 } 11 }'
内容版权声明:除非注明,否则皆为本站原创文章。