1.安装
https://www.elastic.co/cn/ 官方下载
2.启动
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #000000; background-color: #ffffff }
span.s1 { }
bin/elasticsearch
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #000000; background-color: #ffffff }
span.s1 { }
成功示例:
Macbook:~ shibazizhan$ curl ‘http://localhost:9200/?pretty‘
{
"name" : "LduvONg",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "VilNCv_FRiK2m196Vbi9Ig",
"version" : {
"number" : "5.4.0",
"build_hash" : "780f8c4",
"build_date" : "2017-04-28T17:43:27.229Z",
"build_snapshot" : false,
"lucene_version" : "6.5.0"
},
"tagline" : "You Know, for Search"
}
时间: 2024-10-10 09:41:15