es 聚合查询的报illegal_argument_exception错误
es对没有加入索引的是不支持聚合查询的,如果需要聚合查询执行下面的语句curl -X PUT "localhost:9200/megacorp/_mapping?pretty" -H 'Content-Type:application/json' -d '{"properties":{"interests":{"type":"text","fielddata":true}}}'...
原创
2020-05-19 18:28:34 ·
3827 阅读 ·
0 评论