
elasticsearch
little_calf
时间一长,写着写着就成了习惯
展开
-
JAVA 获取Elasticsearch客户端
JAVA 获取Elasticsearch客户端SettingClient案例展示Setting设置client.transport.sniff为true来使客户端去嗅探整个集群的状态,把集群中其它机器的ip地址加到客户端中// 获取Setting方法Settings settings = Settings.builder() .put("client.transport.sniff"...原创 2020-04-08 15:50:38 · 421 阅读 · 0 评论 -
elasticsearch中的curl命令
windows(64位)中使用curl最近再学习elasticsearch,无论是在linux下还是在windows下都会使用到curl命令,windows下安装curl命令插件原创 2017-02-28 10:08:42 · 614 阅读 · 0 评论 -
elasticsearch安装ik分词器
elasticsearch安装ik分词器 : 网址:https://github.com/medcl/elasticsearch-analysis-ik/releases 下载ik分词器 下载的elasticsearch是5.1.2 : 网址:https://github.com/medcl/elasticsearch-analysis-ik 版本对应关系显示 根据版原创 2017-02-28 16:12:51 · 621 阅读 · 0 评论 -
elasticsearch5.1.2在windows下的安装包括head
elasticsearch5.1.2在windows下的安装我印象中安装head安装好长时间了,一直没装上,今天终于安装上了,不容易啊。原创 2017-03-01 14:08:51 · 821 阅读 · 0 评论 -
elasticsearch
使用curl命令操作elasticsearch第一:_cat系列_cat系列提供了一系列查询elasticsearch集群状态的接口。你可以通过执行 curl -XGET localhost:9200/_cat 获取所有_cat系列的操作 =^.^= /_cat/allocation /_cat/shards /_cat/shards/{index} /_cat/master /_转载 2017-02-27 16:54:38 · 224 阅读 · 0 评论 -
Elasticsearch的复合查询
Elasticsearch的复合查询 Compound queriesCompound queries wrap other compound or leaf queries, either to combine their results and scores, to change their behaviour, or to switch from query to filter cont...原创 2018-05-30 16:12:26 · 2220 阅读 · 8 评论 -
Elasticsearch 的query查询和filter查询
Elasticsearch 的query查询和filter查询的区别引入关于query和filter的区别query查询filter查询总结引入最近随着项目中在elasticsearch的数据越来越多以及查询条件的增多,需要对elasticsearch的优化关于query和filter的区别从查询上开始优化,这就要区别query和filter的查询区别query的主要点是“此文档与此查询...原创 2018-11-14 17:13:53 · 711 阅读 · 0 评论