上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: https://www.elastic.co/guide/cn/elasticsearch/guide/current/create-doc.html当我们索引一个文档, 怎么确认我们正在创建一个完全新的文档,而不是覆盖现有的呢?请记住, _index 、 _type 和 _id 的组合可以唯一标识 阅读全文
posted @ 2019-07-17 11:15 努力挣扎的小兵 阅读(733) 评论(0) 推荐(0) 编辑
摘要: https://www.elastic.co/guide/cn/elasticsearch/guide/current/optimistic-concurrency-control.html当我们之前讨论 index , GET 和 delete 请求时,我们指出每个文档都有一个 _version 阅读全文
posted @ 2019-07-17 11:13 努力挣扎的小兵 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: github官方参考地址:https://github.com/NLPchina/elasticsearch-sql/ 采用 git + node 的方式,所以安装前需要先安装好node,node npm,node grunt,git 1. 下载:es-sql-site-standalone.zip 阅读全文
posted @ 2019-07-17 11:11 努力挣扎的小兵 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: 官方参考地址:https://github.com/mobz/elasticsearch-head5.0及以上版本安装参考地址:http://www.cnblogs.com/jstarseven/p/6036061.html 采用 git + node 的方式,所以安装前需要先安装好node,nod 阅读全文
posted @ 2019-07-17 11:08 努力挣扎的小兵 阅读(982) 评论(0) 推荐(0) 编辑
摘要: elasticsearch默认的分词:http://localhost:9200/userinfo/_analyze?analyzer=standard&pretty=true&text=我是中国人 (或者不写analyzer=standard) 分词之后是:“我”“是”“中”“国”“人“,会将每一 阅读全文
posted @ 2019-07-17 11:07 努力挣扎的小兵 阅读(7082) 评论(0) 推荐(0) 编辑
摘要: github地址:https://github.com/NLPchina/elasticsearch-sql/ 方式一:github elasticsearch-sql上提供的安装方法cmd进入到本地的elasticsearch的bin目录。执行:plugin install https://git 阅读全文
posted @ 2019-07-17 11:05 努力挣扎的小兵 阅读(419) 评论(0) 推荐(0) 编辑
摘要: elasticsearch 5.0以下的版本要用到权限控制的话需要使用shield。下载地址: https://www.elastic.co/downloads/shield5.0以上的版本则可以使用X-Pack,shield现在只是x-pack的一部分。x-pack包含了Shield, Watch 阅读全文
posted @ 2019-07-17 11:03 努力挣扎的小兵 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 官方文档:https://www.elastic.co/guide/en/shield/current/_using_elasticsearch_java_clients_with_shield.html 1.最简单的使用方式,全局配置凭据,使用此client时每个请求的请求头中都会带上凭据。Set 阅读全文
posted @ 2019-07-17 11:02 努力挣扎的小兵 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 查看elasticsearch信息http://localhost:9200/ 查看某个索引信息http://localhost:9200/index_name例如:http://localhost:9200/twitter 查看某个文档http://localhost:9200/index_nam 阅读全文
posted @ 2019-07-17 11:01 努力挣扎的小兵 阅读(442) 评论(0) 推荐(0) 编辑
摘要: index的值只有三种(no,not_analyzed,analyzed)https://www.elastic.co/guide/en/elasticsearch/reference/2.4/mapping-index.htmlno:不添加到索引not_analyzed:添加到索引不分词analy 阅读全文
posted @ 2019-07-17 10:59 努力挣扎的小兵 阅读(7391) 评论(2) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页