再用ElasticSearch的collapse搜索时出现:only keywords and numbers are accepted
Elasticsearch | 作者 Bemooy | 发布于2017年10月16日 | 阅读数:6252
查询字段:
{
"query": {
"match": {
"language": "CN"
}
},
"collapse": {
"field": "client_id"
}
}
错误
"root_cause": [
{
"type": "search_context_exception",
"reason": "unknown type for collapse field `client_id`, only keywords and numbers are accepted"
}
],
{
"query": {
"match": {
"language": "CN"
}
},
"collapse": {
"field": "client_id"
}
}
错误
"root_cause": [
{
"type": "search_context_exception",
"reason": "unknown type for collapse field `client_id`, only keywords and numbers are accepted"
}
],
1 个回复
kennywu76 - Wood
赞同来自: Cheetah