The requested URL was not found on this server. 不管你信不信,反正我是没找到

elasticsearch如何模糊查询特殊字符

Elasticsearch | 作者 grxasd | 发布于2017年10月12日 | 阅读数:7790

比如字段content为:《特殊, 字符》,我想查询有《,或者,这些特殊字符应该怎么写,用
"query": {
"wildcard": {
"content": {
"value": "*《*"
}
}
}
这样写查不出来,请问应该怎么写
已邀请:

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自: DoubleDragon belizer

content改成content.keyword

belizer - 80后IT男

赞同来自:

test

要回复问题请先登录注册