2016年10月26号正式发布,感觉ES越来越强大了呢,今天是十一月的开始,ES 5.0 学习开始……
windows 下载zip 文件
下载地址:
下载之后解压,点击 /elasticsearch-5.0.0目录下面的 elasticsearch.bat 启动ES服务
看到下面的信息表示服务启动成功
可以看到当前使用的ES版本是5.0,lucene的版本是6.2
将ES安装为服务,这样就不需要手动启动
使用命令提示符,转到ES文件目录bin,执行命令 elasticsearch-service.bat install
并没有安装成功,原因是
The service installer requires that the thread stack size setting be configured in jvm.options before you install the service. On 32-bit Windows, you should add -Xss320k to the jvm.options file, and on 64-bit Windows you should add -Xss1m to the jvm.options file
然后在config文件下找到jvm.options
添加 -Xss1m ,因为我的笔记本是64位的
添加之后在执行命令,得到结果如下,成功安装
然后查看windows服务