zthang / XLab-Tongji-EducationPlatform-backend

教与学智能推荐平台项目后端~

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CollegeEducation-backend

Dependency:

ElasticSearch 6.4.2

This simple config is for testing on my mac

You need to change the cluster-nodes address and the cluster-name according to your pc/server version

If you want to test on your pc, on mac, use HomeBrew ("brew install elasticsearch") to install(by default it is the latest version 6.4.2 which works on my mac), add its bin to your path. type "elasticsearch" in terminal to launch it

You can use curl ip:9200 or just type 127.0.0.1:9200 in your browser to get the default settings of your elasticsearch(cluster-name is of the most important, it has to be matched to your node ip)

I believe windows users will follow almost the same tutorial to make it work.

IkAnalyzer 6.4.2

If you are going to use IKAnalyzer, you can download IkAnalyzer plugin hear https://github.com/medcl/elasticsearch-analysis-ik/releases and copy it to your elasticseaerch config directory

Conflict Problems

If any of the existing index conflict due to the change of "resource_search.json" or other index config(index mapping can not be change...) in resource directory, the simplest way is to use "curl -XDELETE http://localhost:9200/indexname/typename" to delete all the existing index and restart the app.

About

教与学智能推荐平台项目后端~


Languages

Language:Java 60.3%Language:TSQL 39.7%