随笔分类 -  elasticsearch

es
摘要:https://blog.csdn.net/qq_29635485/article/details/120157869?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2~default~CTRLI 阅读全文
posted @ 2021-11-26 01:26 袁子弹 阅读(104) 评论(0) 推荐(0)
4、DSL搜索
摘要:创建索引shop PUT /shop { "settings": { "number_of_shards": 3, "number_of_replicas": 0 } } 修改http://81.69.251.148:9200/shop/_mapping post { "properties":{ 阅读全文
posted @ 2021-11-21 22:55 袁子弹 阅读(74) 评论(0) 推荐(0)
3、es分词与内置分词器
摘要:es分词 http://81.69.251.148:9200/_analyze post { "analyzer":"standard", "text":"my name is yuan" } 基于某个索引分析 post "analyzer":"standard", simple whitespac 阅读全文
posted @ 2021-11-21 19:37 袁子弹 阅读(94) 评论(0) 推荐(0)
2、es常用语句
摘要:添加索引 putPUT /myindex { "settings": { "number_of_shards": 3, "number_of_replicas": 0 } } 创建index_mappings索引 puthttp://81.69.251.148:9200/index_mappings 阅读全文
posted @ 2021-11-21 12:43 袁子弹 阅读(181) 评论(0) 推荐(0)
1、ElasticSearch安装
摘要:一、在linux上安装ElasticSearch 1、下载ElasticSearch,官网:https://www.elastic.co/cn/elasticsearch/, 或者链接:https://pan.baidu.com/s/1vwdPvtfwJsSaOW-u_kDl6Q 提取码:xsa4 阅读全文
posted @ 2021-11-18 01:24 袁子弹 阅读(81) 评论(0) 推荐(0)