Install the elasticsearch plug-in

Source: Internet
Author: User

Go to the bin directory under the elasticsearch installation directory:

1. Install the head plug-in

Plugin-install mobz/elasticsearch-head

Verification: http: // localhost: 9200/_ plugin/head/

 

* Use the head to view the results after word segmentation:

Navigate to any request-> query:

 

Fill in three fields: A. http: // 127.0.0.1: 9200/index name/

B. _ analyze? Analyzer = ik

C. The keyword to be viewed (the keyword is caused ).

 

2. Install ik Word Segmentation

 

Plugin-install medcl/elasticsearch-analysis-IK/1.1.0

CD config

 

wget http://github.com/downloads/medcl/elasticsearch-analysis-ik/ik.zip --no-check-certificateunzip ik.zip 

 

Rm ik.zip

 

Configure elasticsearch. yml and add:

 

Ik:

Alias: [ik_analyzer]

Type: org. elasticsearch. Index. analysis. ikanalyzerprovider

 

3. Install the Mongo river plug-in:

 

Plugin-install elasticsearch/elasticsearch-mapper-Attachments/1.6.0

Plugin-install Richard dwilly98/elasticsearch-river-MongoDB/1.4.0

 

 

 

4. Install the suggest plug-in

 

Plugin-URL https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.4-0.19.0.zip-install suggest

 

Note: The elasticsearch version and suggest plug-in version must be the same. Otherwise, an exception is reported.

 

Replace the file in the plugins/suggest directory with the new version. (Attachment)

Https://github.com/spinscale/elasticsearch-suggest-plugin

 

Reproduced to: http://maxrocray.iteye.com/blog/1703799

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.