第一步:安装了jdk1.8及以上版本
第二步:
es官网上下载新版本 es官网下载选择windows版本即可;
解压后运行文件夹中的\bin\elasticsearch.bat文件
地址栏中输入:http://127.0.0.1:9200/
得到串json数据,就表示安装成功
{
"name" : "LlORWRY",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "oTha-v8fRlGIiY5VK7UmYA",
"version" : {
"number" : "6.2.2",
"build_hash" : "10b1edd",
"build_date" : "2018-02-16T19:01:30.685723Z",
"build_snapshot" : false,
"lucene_version" : "7.2.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}