Skip to content

Windows 下安装 Elasticsearch 2.0.0

1. 下载 elasticsearch-2.0.0

下载 elasticsearch-2.0.0.zip

2. 解压并安装

解压后运行 bin 目录下的 elasticsearch.bat

3. 打开首页

安装后打开 http://localhost:9200/ 会显示如下信息

js
{
    "name" : "Blackwulf",
    "cluster_name" : "elasticsearch",
    "version" : {
        "number" : "2.0.0",
        "build_hash" : "de54438d6af8f9340d50c5c786151783ce7d6be5",
        "build_timestamp" : "2015-10-22T08:09:48Z",
        "build_snapshot" : false,
        "lucene_version" : "5.2.1"
    },
    "tagline" : "You Know, for Search"
}

4. 安装 head 插件

新打开一个 cmd 窗口 cd 到 bin 目录(或者从 https://github.com/mobz/elasticsearch-head 下载后解压把文件复制到 plugins/head 目录)

bash
plugin install mobz/elasticsearch-head

5. 查看 head 插件效果

打开 http://localhost:9200/_plugin/head/​ 查看效果

参照

  1. 一步一步教你 elasticsearch 在 windows 下的安装

  2. https://www.elastic.co/blog/deploying-elasticsearch-200-with-chef

  3. elasticsearch 建立索引操作的 API

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.