不要急,总有办法的

想问下多个terms查询为何不起作用,有没有什么解决办法

Elasticsearch | 作者 chaochao6411 | 发布于2019年03月19日 | 阅读数:2550

想问下多个terms查询为何不起作用,有没有什么解决办法?
4.png
已邀请:

rochy - rochy_he

赞同来自:

不是不起作用,应该是没有对应的 term 吧
你把 Referrers_type 换成小写:referrers_type 试一下
 
有可能是大小写问题

bellengao - 博客: https://www.jianshu.com/u/e0088e3e2127

赞同来自:

默认的standard analyzer包含lowcase token filter, 会把大写转换为小写,,如果一定要使用大写查询的话,可以自定义analyzer,  standard analyzer: https://www.elastic.co/guide/e ... .html
custom analyzer:https://www.elastic.co/guide/e ... .html

要回复问题请先登录注册