Elasticsearch Rest Search---Installation

Source: Internet
Author: User

Table of Contents: First, for the interpretation of this pack B

Second, download, install the plugin elasticsearch-1.7.0

Iii. Mapping of the Index

Iv. Inquiries

V. Documentation for the related degree of Daniel

Second, installation 1. Installing the head management plug-in
plug-in installation Method 1:
1.elasticsearch/bin/plugin-install Mobz/elasticsearch-head
2. Run ES
3. Open http://localhost:9200/_plugin/head/
Plug-in Installation Method 2:
1.https://github.com/mobz/elasticsearch-head Download Zip unzip
2. Create a Elasticsearch-1.0.0\plugins\head\_site file
3. Copy the files under the extracted Elasticsearch-head-master folder to _site
4. Run ES
5. Open http://localhost:9200/_plugin/head/
Source: >
2. Create an index INDEXS----> CREATE type----> Create data "There's a field, the equivalent of a field, it's disgusting when it's filtered."    the above operation corresponds to the database: Create a database------> Create a table-----> Create a field    3. Steps to create: (1) Create an index can view the information of the index, now there is no data, then display mapping empty, mapping for the query is very important, when inserting data will automatically set "In fact, it is best to set up"       (2) Add a new data: the type and ID will be generated-----------where YKK2 is an index, Test2 generates a type,001 is the unique number of this data, name is the domain,  
 This name is all about the data, and it's all part of the data, This is a domain that is not displayed in the list
To see in the end of the tour
(3) Modify the---ID is an existing ID, then the following data is as modified data, but the modified mapping map will not change (4) Delete----Delete the way you must modify the request: Delete   (5) Deleting an index  

Elasticsearch Rest Search---Installation

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.