function_score里面的functions只支持数字吗。
来源:8-17 自定义score计算(下)
阿拉斌
2021-02-08
我使用keyword类型的,他会报错
“caused_by” : {
“type” : “illegal_argument_exception”,
“reason” : “Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [standardItem] in order to load field data by uninverting the inverted index. Note that this can use significant memory.”
}
写回答
1回答
-
要参与运算的不能是字符串
012021-02-10
相似问题
搭建支持HTTPS
回答 1
help! Kibana查询报错
回答 1