{
"query" : {
"constant_score" : {
"filter" : {
"terms" : {
"text" : ["149"]
}
}
}
}
}
DSL如上所示,149为text类型,非keyword,上述使用有什么不合理的地方么?为什么查一个term要2.6s,我的索引有1.3亿文档
1 个回复
bellengao - 博客: https://www.jianshu.com/u/e0088e3e2127
赞同来自: