Basic process for using Elasticsearch in Mac OS X

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.