Search Engine Migration Records
background:
There is an old project in the project. The search mainly relies on the fuzzy matching of the database. Due to the continuous increase in the amount of data and users, consider migrating to ElasticSearch.
There is a lot of content, and it will be released several times. I hope you will continue to pay attention. This time, I will mainly issue an outline.
Involved content:
ElasticSearch+LogStash+Kibana
Outline:
Deploy ElasticSearch
Software version: elasticsearch-2.3.5
Software environment: CentOS 6.7+JDK 1.7
Deployment step
Configuration modification: start ES insert test data development Java client: integrate POM file integrate spring-data-elasticsearch development data layer JUNIT test
Design Formal Environment Index and Type
Design each field type of formal environment
ES formal environment optimization
Problems encountered during the process and solutions
Deploy LogStash
Software version: logstash-2.4.1.tar.gz
Software environment: CentOS 6.7+JDK 1.7
Deployment steps
Configuration modification
installation test
Download and configure the plugin
logstash-input-jdbc
logstash-input-beats
run the test
Problems encountered and solutions
Department Kibana
Software version: kibana-4.5.4
Software environment: CentOS 6.7+JDK 1.7
Deployment steps
Configuration modification
installation test
Results display
Problems encountered and solutions