Fetch the repository succeeded.
This action will force synchronization from zhoudong/springboot-elasticsearch, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
Springboot2.1.1+elasticsearch6.5.3搭建的企业级搜索平台,支持PB级数据(需要elasticsearch分布式部署),目前已经支持中文分词,检索关键词高亮操作,如果帮到您,麻烦点下Star,谢谢。
另外 Springboot2.1+Solr7.5 搭建的搜索引擎,已经支持文档搜索、数据库搜索、中文分词等。 https://gitee.com/11230595/springboot-solr
config/elasticsearch.yml
,对其中两项配置进行修改 cluster.name
集群名称,随便填写,或者使用默认的“my-application”,注意,后面Java链接elasticsearch时,需要该配置。network.host
如果此不配置此项,其他机器无法链接当前elasticsearch。配置为:(0.0.0.0代表任何IP都可访问)bin/elasticsearch
bin\elasticsearch.bat
bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.5.3/elasticsearch-analysis-ik-6.5.3.zip
application.properties->spring.data.elasticsearch.cluster-nodes
elasticsearch地址application.properties->spring.data.elasticsearch.cluster-name
集群名称,和上面配置的相对应/src/test/java/com/zhou/essearch/EssearchApplicationTests.java
测试类Sign in for post a comment
Comments ( 0 )