ElasticSearch installation (graphical user interface)

The installation of a ElasticSearch

1.1.ElasticSearch Download

Official website:
https://www.elastic.co/downloads/elasticsearch

1.2. Installation

Here Insert Picture Description
Here Insert Picture Description

1.3. Modify the configuration file (RAM)

Here Insert Picture DescriptionHere Insert Picture Description

1.4. Test

Access: HTTP: // localhost: 9200

1.5.ES graphical interface tool

1.5.1. Kibana5 AnSo

Start Kibana5

Here Insert Picture Description
Here Insert Picture Description

Default access address: HTTP: // localhost: 5601
Here Insert Picture Description

1.5.2. Elasticsearch-header installation

Installation command: cnpm install

Here Insert Picture Description
Here Insert Picture Description

Run npm run start

Here Insert Picture Description

Default access address : HTTP: // localhost: 5601
Here Insert Picture Description

配置跨域
修改 elasticsearch/config/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: “*”
Here Insert Picture Description

Here Insert Picture Description

1.6. IK word configuration

ES supported by default better for tokenizer English text, but and lucene, as if the need for Chinese full-text search, you need to use the Chinese word breaker, like lucene, before using the Chinese full-text search, you need to integrate IK word breaker.

  • Unzip files elasticsearch-analysis-ik-5.2.2.zip
  • The content of the root directory placed in the ES / plugins / ik
    Here Insert Picture Description
Published 33 original articles · won praise 0 · Views 404

Guess you like

Origin blog.csdn.net/weixin_45737653/article/details/104824754