xwjie / Elasticsearchdemo
Licence: mit
ElasticSearch+Springboot的例子,对本机的文本等文件进行全文检索
Stars: ✭ 18
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Elasticsearchdemo
Java Specialagent
Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
Stars: ✭ 156 (+766.67%)
Mutual labels: elasticsearch, spring-boot
Spring Boot Enterprise Application Development
Spring Boot Enterprise Application Development.《Spring Boot 企业级应用开发实战》
Stars: ✭ 261 (+1350%)
Mutual labels: elasticsearch, spring-boot
Spring Boot Leaning
Spring Boot 2.X 最全课程代码
Stars: ✭ 2,008 (+11055.56%)
Mutual labels: elasticsearch, spring-boot
Microservice Monitoring
Monitor your Spring Boot application with the Elastic Stack all around
Stars: ✭ 114 (+533.33%)
Mutual labels: elasticsearch, spring-boot
Cookbook
🎉🎉🎉JAVA高级架构师技术栈==任何技能通过 “刻意练习” 都可以达到融会贯通的境界,就像烹饪一样,这里有一份JAVA开发技术手册,只需要增加自己练习的次数。🏃🏃🏃
Stars: ✭ 428 (+2277.78%)
Mutual labels: elasticsearch, spring-boot
Spring Boot Quick
🌿 基于springboot的快速学习示例,整合自己遇到的开源框架,如:rabbitmq(延迟队列)、Kafka、jpa、redies、oauth2、swagger、jsp、docker、spring-batch、异常处理、日志输出、多模块开发、多环境打包、缓存cache、爬虫、jwt、GraphQL、dubbo、zookeeper和Async等等📌
Stars: ✭ 1,819 (+10005.56%)
Mutual labels: elasticsearch, spring-boot
Springboot Elasticsearch
基于springboot的web项目,通过elasticsearch提供的Java API 进行查询操作.
Stars: ✭ 169 (+838.89%)
Mutual labels: elasticsearch, spring-boot
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (+477.78%)
Mutual labels: elasticsearch, spring-boot
Springy Store Microservices
Springy Store is a conceptual simple μServices-based project using the latest cutting-edge technologies, to demonstrate how the Store services are created to be a cloud-native and 12-factor app agnostic. Those μServices are developed based on Spring Boot & Cloud framework that implements cloud-native intuitive, design patterns, and best practices.
Stars: ✭ 318 (+1666.67%)
Mutual labels: elasticsearch, spring-boot
Xboot
基于Spring Boot 2.x的一站式前后端分离快速开发平台XBoot 微信小程序+Uniapp 前端:Vue+iView Admin 后端:Spring Boot 2.x/Spring Security/JWT/JPA+Mybatis-Plus/Redis/Elasticsearch/Activiti 分布式限流/同步锁/验证码/SnowFlake雪花算法ID 动态权限 数据权限 工作流 代码生成 定时任务 社交账号 短信登录 单点登录 OAuth2开放平台 客服机器人 数据大屏 暗黑模式
Stars: ✭ 3,432 (+18966.67%)
Mutual labels: elasticsearch, spring-boot
Spring Boot Examples
🥗 Spring/SpringBoot/SpringCloud 实践学习案例,从入门到精通,持续更新中,欢迎交流学习🍺 !
Stars: ✭ 110 (+511.11%)
Mutual labels: elasticsearch, spring-boot
Springbootexamples
Spring Boot 学习教程
Stars: ✭ 794 (+4311.11%)
Mutual labels: elasticsearch, spring-boot
Mall
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Stars: ✭ 54,797 (+304327.78%)
Mutual labels: elasticsearch, spring-boot
Sofang
基于Spring Boot+ElasticSearch实现搜房网
Stars: ✭ 146 (+711.11%)
Mutual labels: elasticsearch, spring-boot
Spring Cloud Microservices Development
Spring Cloud Microservices Development.《Spring Cloud 微服务架构开发实战》
Stars: ✭ 106 (+488.89%)
Mutual labels: elasticsearch, spring-boot
Microservices Sample
Sample project to create an application using microservices architecture
Stars: ✭ 167 (+827.78%)
Mutual labels: elasticsearch, spring-boot
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+455.56%)
Mutual labels: elasticsearch, spring-boot
Whatsmars
Java生态研究(Spring Boot + Redis + Dubbo + RocketMQ + Elasticsearch)🔥🔥🔥🔥🔥
Stars: ✭ 1,389 (+7616.67%)
Mutual labels: elasticsearch, spring-boot
Poseidon
poseidon项目是基于Java的商城项目,包括前台商城(),后台管理系统。系统采用SpringCloud+SpringBoot+Mybatis+React等框架进行开发。包括首页展示,商品搜索,商品推荐,购物车,订单等模块。
Stars: ✭ 261 (+1350%)
Mutual labels: elasticsearch, spring-boot
Books Recommendation
程序员进阶书籍(视频),持续更新(Programmer Books)
Stars: ✭ 558 (+3000%)
Mutual labels: elasticsearch, spring-boot
ElasticSearchDemo
ElasticSearch+Springboot的例子,对本机的文本等文件进行全文检索
http://localhost:9200/article/_search?q=%E7%A8%8B%E5%BA%8F%E5%91%98
更新日志
2017.10.10 完成基本功能,能全文搜索,能显示能分页。
nodejs 调用elasticsearch
elastic search 支持跨域
在 elasticsearch-5.6.2\config\elasticsearch.yml
最后加入配置
http.cors.enabled : true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length
http.cors.allow-credentials: true
完全匹配关键字
query: {
match: {
body: key
}
},
修改为
query: {
match_phrase: {
body: key
}
},
不返回某些字段
_source: {
//includes: [
// '*.count',
// 'meta.*'
//],
excludes: ['body']
},
踩坑记
- 注入的类型不对导致无法启动
@Autowired
TransportClient client;
无法启动,修改为以下代码启动正常。
@Autowired
Client client
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].