随笔分类 -  Elasticsearch

Elasticsearch、Kibana、Logstash、Beasts
摘要:过滤器 当进行精确查找时,我们会使用过滤器。 term 单值匹配 terms 多值匹配 bool 复合过滤器(must/must_not/should) range 范围查询 (gt/lt/gtq/lte) exists null值查询 使用 constant_score 以非评分模式进行查询。 示 阅读全文
posted @ 2024-10-09 19:39 廖子博 阅读(32) 评论(0) 推荐(0) 编辑
摘要:全文搜索 match operator 提高精度 minimum_should_match 控制精度 bool 组合查询 must 必须匹配 must_not 必须不匹配 should 如果有 must 则表示没有必须匹配但有会更匹配,如果没有 must 则表示至少需要有一个匹配 minimum_s 阅读全文
posted @ 2024-10-09 19:39 廖子博 阅读(20) 评论(0) 推荐(0) 编辑
摘要:Elasticsearch 搜索 API 搜索多个索引 # 未指定文档时,返回的是所有索引的文档 # 默认返回 10 个文档 GET /_search # 返回 20 个文档 GET /_search?size=20 # 对多个索引进行搜索 GET /twitter,test,catalog/_se 阅读全文
posted @ 2022-10-17 23:03 廖子博 阅读(38) 评论(0) 推荐(0) 编辑
摘要:Elastichsearch CRUD 简介 Elasticsearch 是一个分布式近实时的搜索引擎: Elasticsearch 对 Java 类库 Apache Lucene 进行封装,提供简单易用的 RESTful 接口和分布式等高级特性 Elasticsearch 默认配置了一个定时器,每 阅读全文
posted @ 2022-10-16 21:36 廖子博 阅读(38) 评论(0) 推荐(0) 编辑
摘要:Elasticsearch 和 Kibana 安装 操作系统:Windows 10 Elastic Stack 版本:8.4.3 安装 Elasticsearch 下载 https://artifacts.elastic.co/downloads/elasticsearch/elasticsearc 阅读全文
posted @ 2022-10-15 22:46 廖子博 阅读(476) 评论(0) 推荐(0) 编辑

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