人间蒸发
2019-05-15 21:32:44
证
springboot2.0+lucene简单demo,实现高亮,全文索引。
项目描述
springboot2.0+lucene简单demo,实现高亮,全文索引。
运行环境
jdk8+mysql+IntelliJ IDEA+maven
数据库文件
链接:https://pan.baidu.com/s/1G9A_q7GLtdMJgUhtWkqF9g
提取码:y2rv
jar包文件
maven搭建
链接:https://pan.baidu.com/s/18OXRLVl_f-stswRPhcOC5A
提取码:stco
项目技术(必填)
springboot2.0+lucene+mybatis+bootstrap+jquery
是否原创(转载必填原文地址)
转:https://github.com/suxiongwei/lucene
项目截图(必填)
运行截图(必填)
重建索引请求
localhost:8080/index?limit=10000&offset=0
注意事项
1.如果遇到报错
java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time
直接在mysql执行语句:
set global time_zone='+8:00'
2.搜索结果没有分页查询功能
3.搜索前务必要先请求建立索引的地址,需要修改2个目录
config.yml
SearchService.java
猜你喜欢
- spring boot+vue+quartz2.2.3整合定时调度系统
- Spring Boot学习(九)之Spring Boot整合MyBatis 及注解配置 源码
- SpringBoot集成HIVE小例子,采用Druid管理连接池
- springboot整合jedis项目实例
- spring boot+mybatis+mysql项目搭建入门实例
- spring boot+mybatis+ehcache(缓存)整合的简单实例
- springBoot+shardingJdbc+mybaits+mapper3框架整合demo实例
- spring boot集成ehcache极简入门实例
- Spring Boot学习(四)之web开发渲染页面 -- Velocity
- Spring Boot学习(四)之web开发渲染页面 -- Freemarker博客源码分享
- spring boot1.3.1+mybatis+velocity学习整合demo分享
- SpringBoot+mybatis+Druid+Maven实现restful风格项目实例
请下载代码后再发表评论
文件名:lucene-master.zip,文件大小:19724.33K
下载
- /
- /lucene-master
- /lucene-master/.classpath
- /lucene-master/.gitignore
- /lucene-master/.idea
- /lucene-master/.idea/.name
- /lucene-master/.idea/compiler.xml
- /lucene-master/.idea/encodings.xml
- /lucene-master/.idea/inspectionProfiles
- /lucene-master/.idea/libraries
- /lucene-master/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml
- /lucene-master/src
- /lucene-master/src/main
- /lucene-master/src/main/java
- /lucene-master/src/main/java/com
- /lucene-master/src/main/java/com/xywy
- /lucene-master/src/main/java/com/xywy/lucene
- /lucene-master/src/main/java/com/xywy/lucene/api
- /lucene-master/src/main/java/com/xywy/lucene/cfg
- /lucene-master/src/main/java/com/xywy/lucene/core
- /lucene-master/src/main/java/com/xywy/lucene
- /lucene-master/src/main/java/com/xywy
- /lucene-master/src/main/java/com
- /lucene-master/src/main/java
- /lucene-master/src/main
- /lucene-master

- 证 Spring Boot创建自定义Banner.txt实例
- 证 Spring Boot配置@Profile注解加载不同环境的配置文件实例
- 证 Spring Boot Actuator 2.3.4.RELEASE新版本实现自定义端点信息的配置实例
- 原证 spring AOP 过滤器 拦截器 执行顺序示例
- 证 spring boot使用不指定Maven parent pom来创建可执行的spring boot项目
- 证 Spring Boot整合thymeleaf做为显示层的hello world实例
- 证 Spring Boot整合SpringFox Swagger2实现REST API增删改查项目实例
- 证 Spring Boot演示@ConfigurationProperties标注实现自定义配置属性的实例
- 证 Spring Boot整合Ehcache的简单入门实例
- 原 SpringBoot入门整合开发java Web项目实例
- 证 Springboot+thymeleaf对员工的增删改查操作 带分页功能
- 证 Spring Boot整合Freemarker实现文件上传项目实例

人间蒸发 LV23
2022年11月27日
xsxtxbb LV8
2022年10月10日
liudaiying LV6
2022年6月2日
A_xiaobao LV9
2022年1月20日
dujianqiao LV2
2021年11月25日
lirui9900 LV1
2021年11月16日
MyCD LV1
2021年10月15日
Akira001 LV1
2021年8月14日
ugly_wang LV1
2021年8月3日
悟道子 LV16
2021年7月25日

漫步的海星 LV4
2023年9月26日
444105047 LV6
2023年8月2日
dixiu000 LV4
2023年1月30日
xsxtxbb LV8
2022年10月10日
最小白K
2022年10月6日
暂无贡献等级
liudaiying LV6
2022年6月2日
liuxiao2 LV16
2022年4月8日
893213895 LV18
2021年12月23日
1057148049 LV11
2021年11月30日
刘亦菲9527 LV15
2021年11月30日