随笔分类 -  ElasticSearch

elasticsearch关键词查询不分词
摘要:$query = [ 'bool' => [ 'must' => [ 'match_phrase' => ['content' => $word] //$word词不被分词 ], 'must_not' => [ 'terms' => ['fid'=>[69, 70]], //添加not in ... 阅读全文

posted @ 2018-06-04 20:26 dongruiha 阅读(2050) 评论(0) 推荐(0) 编辑

elasticsearch in语句和not in语句
摘要:sql语句示例: select * from table where t_id in (1,2,3,4) php代码示例: 阅读全文

posted @ 2018-03-20 10:04 dongruiha 阅读(4954) 评论(0) 推荐(0) 编辑

将 ELASTICSEARCH 写入速度优化到极限
摘要:https://www.easyice.cn/archives/207 阅读全文

posted @ 2018-03-12 18:20 dongruiha 阅读(520) 评论(0) 推荐(0) 编辑

Elasticsearch - 处理冲突
摘要:http://blog.csdn.net/xifeijian/article/details/49615559 阅读全文

posted @ 2018-03-06 10:32 dongruiha 阅读(129) 评论(0) 推荐(0) 编辑

elasticsearch5.0.1集群索引分片丢失的处理
摘要:elasticdump命令安装 yum install npm npm install elasticdump -g 命令安装完毕,可以测试。 可能会报出nodejs的版本之类的错误,你需要升级一下版本。 npm install -g n n stable 至此可以使用。 问题描述:索引label的 阅读全文

posted @ 2018-03-06 10:15 dongruiha 阅读(470) 评论(0) 推荐(0) 编辑

ElasticSearch文档删除字段
摘要:https://www.cnblogs.com/ljhdo/archive/2017/03/24/4885796.html 阅读全文

posted @ 2018-01-29 16:59 dongruiha 阅读(1291) 评论(0) 推荐(0) 编辑

导航