摘要: elasticsearch的安装后期再补充,还有对应的elasticsearch-head 的插件 elasticsearch restful接口使用方法 RESTful接口URL的格式: http://localhost:9200///[] 其中index、type是必须提供的。 id是可选的,不 阅读全文
posted @ 2019-05-29 18:05 那些年的代码 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 基础环境 Elasticsearch集群搭建请参考前一篇文章http://www.cnblogs.com/aubin/p/8012840.html 一、安装 插件官网地址https://github.com/mobz/elasticsearch-head 由于插件时托管在github中,要从gith 阅读全文
posted @ 2019-05-29 17:36 那些年的代码 阅读(420) 评论(0) 推荐(0) 编辑
摘要: ealsticsearch只是后端提供各种api,那么怎么直观的使用它呢?elasticsearch-head将是一款专门针对于elasticsearch的客户端工具 elasticsearch-head配置包,下载地址:https://github.com/mobz/elasticsearch-h 阅读全文
posted @ 2019-05-29 17:33 那些年的代码 阅读(766) 评论(0) 推荐(0) 编辑
摘要: 在elasticsearch-head 插件中遇到的删除特定的数据需求 DELETE /索引名/需要清空的type/_query { "query": { "match_all": {} } delete的JSON的查询条件可以自己根据基本查询里面的条件来取得 类型下面的index和type,条件是 阅读全文
posted @ 2019-05-29 15:01 那些年的代码 阅读(285) 评论(0) 推荐(0) 编辑
摘要: restful接口使用方法 RESTful接口URL的格式: http://localhost:9200///[] 其中index、type是必须提供的。 id是可选的,不提供es会自动生成。 index、type将信息进行分层,利于管理。 index可以理解为数据库;type理解为数据表;id相当 阅读全文
posted @ 2019-05-29 12:06 那些年的代码 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 默认无权限控制: 远程服务连接: $ redis-cli -h 127.0.0.1 -p 6379 windows下 :redis-cli.exe -h 127.0.0.1 -p 6379 redis 127.0.0.1:6379> 远程服务停止: $ redis-cli -h 172.168.10 阅读全文
posted @ 2019-05-29 11:25 那些年的代码 阅读(3573) 评论(0) 推荐(0) 编辑
摘要: 他们的意义基本相同,都是路由追踪,返回从源到目标的路由情况;但tracert -d不解析各路由器的名称,只返回路由器的IP地址。而tracert 不仅返回各路由器的IP地址,而且返回其名称。简单来说,就是返回的内容不同,根据需求来选择使用的命令。 阅读全文
posted @ 2019-05-29 10:13 那些年的代码 阅读(2832) 评论(0) 推荐(0) 编辑