The purpose of this log is simply to document some basic processes. To use Elasticsearch on OS X, it's really simple, here:https://www.elastic.co/downloads/elasticsearch Download the zip archive and unzip it in the appropriate directory, Then locate the terminal under the decompression directory and run:
sudo bin/elasticsearch
In fact, you can start the Elasticsearch, you can install the Marvel (and the same name) this Elasticsearch visual management and monitoring tools:
sudo bin/plugin-i elasticsearch/marvel/latest
Restart Elasticsearch:
sudo bin/elasticsearch restart
can be accessed under the browser: http://localhost:9200/, you can see that a JSON-like result set is returned. Marvel can visit here: http://localhost:9200/_plugin/marvel/, you can see that this interface is very beautiful.
Finally summarizes the Elasticsearch API, can actually use the RESTful form the API, also may use the Java API, its Java API document is here: https://www.elastic.co/guide/en/ Elasticsearch/client/java-api/current/index.html.
Simply record so much.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Basic process for using Elasticsearch in Mac OS X