如图:
下面是报错{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "[terms] unknown field [fielddata], parser not found"
}
],
"type": "illegal_argument_exception",
"reason": "
[terms] unknown field [fielddata], parser not found"
},
"status": 400
}
2 个回复
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自:
hnj1575565068 - 90后
赞同来自:
你可以用keyword,聚合的时候用insterests.keyword