1 Star 0 Fork 450

小布叮 / springboot-solr

forked from zhoudong / springboot-solr 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

springboot-solr

一、项目介绍

Springboot2.1+Solr7.5搭建的企业级搜索平台,项目目前支持文档内容和数据库检索,已经集成分词技术。支持文档内容检索类型包含:pdf、doc、docx、ppt、pptx、txt、log等
数据库已支持MySQL增量自动建立索引,如果帮到您,麻烦点下Star,谢谢。

Springboot2.1.1+elasticsearch6.5.3搭建的企业级搜索平台。开源地址: https://gitee.com/11230595/springboot-elasticsearch

二、软件架构

软件架构说明

  1. SpringBoot2.1
  2. Solr7.5
  3. thymeleaf
  4. webflux

项目分为两个应用,其中search已经集成tomcat、Solr已经集成jetty

三、部署教程

  1. solr安装启动
    进入 solr-7.5.0/bin目录
    执行 solr start
    说明:solr运行,依赖JDK8
  2. solr控制台
    http://localhost:8983/solr,如果可以顺利打开,说明solr启动成功。
  3. solr停止 进入 solr-7.5.0/bin目录
    执行 solr stop -p 8983
  4. search项目启动 search项目为普通Springboot项目,下载后将源码导入到IDE,在SearchApplication右键--> Run ...即可。

四、Solr配置说明

  1. Solr MySQL相关 进入 solr-7.5.0/server/solr/test_core/conf
    db-data-config.xml -> 需要索引的表配置
    managed-schema -> 需要索引的字段配置
  2. Solr MySQL 数据自动增量同步配置说明 进入 solr-7.5.0/server/solr/conf/ dataimport.properties -> 自动同步数据相关配置
  3. Solr 文件检索配置 进入 solr-7.5.0/server/solr/file_core/conf
    tika-data-config.xml -> 索引文件目录及类型配置
    managed-schema -> 需要索引的字段配置

五、search配置说明

  1. 配置文件 src/main/resources/application.properties
    本配置文件目前只配置了三部分。
  • solr 链接
  • 静态资源路径
  • thymeleaf
  • 端口,文根等其他配置请可自行配置

六、系统截图

- 数据库搜索截图

image image

- 文件搜索截图

image image

七、联系开发者

zhoudong611@163.com

八、QQ群:83402555

九、关注公众号

image

Empty file

About

Springboot2.1+Solr7.5搭建的企业级搜索平台,项目目前支持文档内容和数据库检索,已经集成分词技术。支持文档内容检索类型包含:pdf、doc、docx、ppt、pptx、txt、log等 数据库已支持MySQL增量自动建立索引,如果帮到您,麻烦点下Star,谢谢。 expand collapse
Java
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/sun-hchao/springboot-solr.git
git@gitee.com:sun-hchao/springboot-solr.git
sun-hchao
springboot-solr
springboot-solr
master

Search