随笔- 807  文章- 150  评论- 23  阅读- 151万 

随笔分类 -  ELK-Elasticsearch 基本操作

Logstash 7.5 导入数据到ES7.5
摘要:一、导入到ES单个字段 cat json.conf file { path => "/home/mongodb/vsmongo.json" type => "myfirst" start_position => "beginning" } } output { if [type] == "myfir 阅读全文
posted @ 2020-05-20 16:44 xibuhaohao 阅读(610) 评论(0) 推荐(0) 编辑
Es的模糊查询,match,match_phrase、wildcard的区别(转载)
摘要:1、match查询:会先对搜索词进行分词,比如“白雪公主和苹果”,会分成“白雪”“公主”“苹果”。含有相关内容的字段,都会被检索出来。2、match_phrase查询:match_phrase与slop一起用,能保证分词间的邻近关系,slop参数告诉match_phrase查询词条能够相隔多远时仍然 阅读全文
posted @ 2020-05-19 10:49 xibuhaohao 阅读(3152) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示