ElasticSearch
lebron3v
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Elasticsearch 基本查询
注:本实例代码是在ES marvel插件中执行 # 初始化索引 GET http://127.0.0.1:9200/library/ { "settings" :{ "index": { "number_of_shards": 5, "number_of_replicas": 1 } } } # 通过GET 带上参数_settings可以获得...原创 2018-11-13 12:24:05 · 222 阅读 · 0 评论 -
Elasticsearch filter过滤查询
注:本实例代码是在ES marvel插件中执行 # --------------------------------------- # filter 查询 # 建立测试数据_1 POST /store/products/_bulk { "index": {"_id": 1}} { "price": 10, "productID": "SD1002136"} { "index": {原创 2018-11-13 16:15:57 · 25839 阅读 · 3 评论 -
es(1.7.x)插件安装
安装marvel插件 .\plugin -install elasticsearch/marvel/latest原创 2018-11-11 19:12:40 · 329 阅读 · 0 评论 -
Elasticsearch 组合查询
# ------------------------- # 组合查询 # 12.1 bool查询 # must,should,must_not # minimum_should_match:表示一个文档至少匹配多少个短语才算是匹配成功 # disable_coord:启用和金庸一个文档中所包含所有查询关键词的 分数得分计算,默认是false # 无Coordination效果 # 含有ap...原创 2018-11-13 17:19:17 · 1257 阅读 · 0 评论
分享