Elasticsearch Installing and configuring Head, Bigdesk, Ikanalyzer

Source: Internet
Author: User

Installation of Elasticsearch
    1. Http://www.elastics earch.org/Download the latest version of Elastisearch.
    2. unzip the download file.
    3. CD to ${esroot}/bin/, perform elasticsearch boot.
    4. Close es with Curl-xpost localhost:9200/_shutdown.
Elasticsearch Basic configuration (this part of the configuration can be ignored, take the default value)
  1. Edit File ${esroot}/conf/elasticsearcy.yml
  2. Cluster.name: The cluster name, ES can be self-discovery, with the same cluster name ES will constitute the cluster.
  3. Node.name: The name of the node, the name of the current node. Only.
  4. Node.master: Whether to allow the current node to be master.
  5. Node.data: Whether the current node is allowed to store data.
  6. Index.number_of_shards: The default number of Shard for an index.
  7. Index.number_of_replicas: The default number of replicas for an index.
  8. path.data: Data storage.
  9. path.log: Log storage.
  10. Bootstrap.mlockall: Whether to use only memory (swap is not used).
  11. network.bind_host: Sets the IP address of the binding to access ES.
  12. Network.publish_host: The address that communicates with other node for data transfer between cluster.
Plug-in installation (head, Bigdesk, Ik-analyzer)Head, a H5 data viewing client:
    1. CD ${esroot}/bin/.
    2. execution./plugin-install mobz/elasticsearch-head
Bigdesk, Status View client:
    1. ./plugin-install lukas-vlcek/bigdesk/<bigdesk_version>
Ik-analyzer, Chinese word breaker:
    1. git clone https://github.com/medcl/ Elasticsearch-analysis-ik.git
    2. mvn clean Install (if MAVEN is configured).
    3. Elasticsearch-analysis-ik-xxx.jar copied to ${esroot}/plugins/ik/.
    4. copy Elasticsearch-analysis-ik (git repository) in the Config directory under the IK content to {esroot}/config.
    5. configuration ${esroot}/conf/ ELASTICSEARCH.YML, join at the bottom:
################################## Analyzer ############################## #index: Analysis  :                       Analyzer:            ik:          alias: [Ik_analyzer]          type:org.elasticsearch.index.analysis.IkAnalyzerProvider      Ik_max_word:          Type:ik          use_smart:false      ik_smart:          type:ik          use_smart:true
This completes. Test:

head:http://localhost:9200/_plugin/head/

bigdesk:http://localhost:9200/_plugin/bigdesk/

Ik:curl ' Localhost/idx/_analyze?analyzer=ik_smart '-d ' Chinese and China '


Elasticsearch Installing and configuring Head, Bigdesk, Ikanalyzer

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.