# elasticsearch-book
**Repository Path**: SpringBar_admin/elasticsearch-book
## Basic Information
- **Project Name**: elasticsearch-book
- **Description**: 图书检索系统
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-04-12
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
---
# elasticsearch-book
**基于Elasticsearch的图书检索系统**
---
1. 图书类别检索功能 (待开发)
2. 图书内容检索 (已完成)
3. 新功能开发[介绍](https://github.com/tinet-shenjg/elasticsearch-book/blob/master/Feature-job.md)
---
如需体验,请使用[此分支](https://github.com/tinet-shenjg/elasticsearch-book/tree/relase-1.0.0)
启动前配置:
1. 安装好Elasticsearch
2. 添加文档
```javascript
POST /books/_doc/
{
"bookId":91,
"name":"三国演义",
"content":"三国演义是一本四大名著",
"categoryId":1,
"url":"http://www.baidu.com"
}
```
项目启动:
1. 修改application.yml中Elasticsearch配置中的host和port
2. 启动ApplicationStart类
---
搜索界面图:

搜索结果展示界面图:
