码迷,mamicode.com
首页 > 其他好文 > 详细

ElasticSearch

时间:2015-02-04 21:44:57      阅读:300      评论:0      收藏:0      [点我收藏+]

标签:

The installation of Elasticsearch is very simple. It‘s a server for processing texts.

Elasticsearch is a standalone Java app, and can be easily started from command line. A copy can be obtained from the elasticsearch download page.

 

Microsoft Windows:

Download the .zip version and unpack it to a folder. Navigate to the bin folder, then double click elasticsearch.bat to run.

 

If the serve is successfully be startedl, you‘ll see information in terminal like this:

[2015-02-04 20:43:12,747][INFO ][node              ] [Joe Fixit] started

 

P.S: There‘s a problem you may meet. If the terminal provides the information like this:

 [2014-12-17 09:31:03,820][WARN ][cluster.routing.allocation.decider]
[logstash test] high disk watermark [10%] exceeded on
[7drCr113QgSM8wcjNss_Mg][Blur] free: 632.3mb[8.4%], shards will be
relocated away from this node

[2014-12-17 09:31:03,820][INFO ][cluster.routing.allocation.decider]
[logstash test] high disk watermark exceeded on one or more nodes,
rerouting shards

It just means there‘s no enough space in your current disk. So you just need to delete some files for freeing space.

 

After you‘ve started your server, you can ensure it‘s running properly by opening your browser to the URL: http://localhost:9200. You should see a page like this:

{
  "status" : 200,
  "name" : "Joe Fixit",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "1.4.2",
    "build_hash" : "927caff6f05403e936c20bf4529f144f0c89fd8c",
    "build_timestamp" : "2014-12-16T14:11:12Z",
    "build_snapshot" : false,
    "lucene_version" : "4.10.2"
  },
  "tagline" : "You Know, for Search"
}

 

ElasticSearch

标签:

原文地址:http://www.cnblogs.com/kid551/p/4273256.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!