Elasticsearch integrates word segmentation, creates indexes, and search examples

Elasticsearch integrates word segmentation, index creation, and search examples. The elasticsearch version is 1.0. The index data is dynamically read and generated from the data table, with keyword highlighting effect and query paging.

1 Cause the relevant database files in the dababase directory, modify the DBCOperation java file database connection address, and modify the relevant links in the elasticsearch.properties file

2 Run the CreatIndexMysql file, which contains the main method query
Database generates related index files

3 The deployment project can be accessed in tomcat to see the effect. There are many tools in the project, such as keyword Suggest similar to Baidu, pinyin search, etc. These functions can be extended on the basis of this project

Note: The download address of elasticsearch-rtf integrated version is https://github.com/medcl/elasticsearch-rtf]

For details, please refer to: http://git.oschina.net/kangjie1209/elasticsearch1.0

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326261922&siteId=291194637