11 Star 40 Fork 11

bboss / eshelloword-booter

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Bboss is a good elasticsearch Java rest client. It operates and accesses elasticsearch in a way similar to mybatis.

BBoss Environmental requirements

JDK requirement: JDK 1.7+

Elasticsearch version requirements: 1.x,2.X,5.X,6. X,+

Spring booter 1.x,2.x,+ #基于bboss es booter demo 的maven工程 本实例是一个bboss es booter的demo maven工程,可供各种类型项目集成参考

工程集成说明

快速集成和应用

非spring boot项目:

https://esdoc.bbossgroups.com/#/common-project-with-bboss

spring boot项目:

https://esdoc.bbossgroups.com/#/spring-booter-with-bboss

详细配置说明参考文档:

https://esdoc.bbossgroups.com/#/development

demo功能说明:

2.1 定义实体对象Demo

2.2 编写测试功能对象-DocumentCRUD.java

创建dsl配置文件-esmapper/demo.xml

删除和创建mapping

单文档添加/修改/删除

文档批量添加(elasticsearch不是实时flush记录,所以批量添加后如果立即查询可能查询不到刚添加的记录)

文档批量修改(elasticsearch不是实时flush记录,所以批量修改后如果立即查询可能查询不到刚修改的效果)

文档检索

关键词高亮检索

运行demo

src/test/java目录下面提供提供很多可以直接运行的的junit测试用例

比如运行增删改查:

elasticsearch 5.x,6.x

org.bboss.elasticsearchtest.crud.DocumentCRUDTest

elasticsearch 7.x

org.bboss.elasticsearchtest.crud.DocumentCRUD7Test

开发交流群

166471282

Comments ( 4 )

Sign in for post a comment

About

elasticsearch restful demo工程 spread retract
Java
Apache-2.0
Cancel

Releases

No release

eshelloword-booter

Contributors

All

Activities

load more
can not load any more
Java
1
https://gitee.com/bboss/eshelloword-booter.git
git@gitee.com:bboss/eshelloword-booter.git
bboss
eshelloword-booter
eshelloword-booter
master

Search