The installation of a ElasticSearch
1.1.ElasticSearch Download
Official website:
https://www.elastic.co/downloads/elasticsearch
1.2. Installation
1.3. Modify the configuration file (RAM)
1.4. Test
Access: HTTP: // localhost: 9200
1.5.ES graphical interface tool
1.5.1. Kibana5 AnSo
Start Kibana5
Default access address: HTTP: // localhost: 5601
1.5.2. Elasticsearch-header installation
Installation command: cnpm install
Run npm run start
Default access address : HTTP: // localhost: 5601
配置跨域
修改 elasticsearch/config/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: “*”
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