只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理
1.首先需要安装Java 环境
2.brew install elasticsearch
3. 开启服务
brew services start elasticsearch
4. 访问端口 http://localhost:9200

接口
返回数据
{
  "name" : "Hu1Gn2E",
  "cluster_name" : "xxxxxx",
  "cluster_uuid" : "xxxxx",
  "version" : {
    "number" : "6.8.7",
    "build_flavor" : "oss",
    "build_type" : "tar",
    "build_hash" : "c63e621",
    "build_date" : "2020-02-26T14:38:01.193138Z",
    "build_snapshot" : false,
    "lucene_version" : "7.7.2",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}
 

 

posted on 2020-03-31 16:15  诗意的活着  阅读(1269)  评论(0编辑  收藏  举报