bboss v5.2.1 釋出,Elasticsearch Rest Client
The best Elasticsearch Highlevel Rest Client API-----bboss v5.2.1 釋出。
主要功能特色
-
ElasticSearch相容性:2.x,5.x,6.x,+
-
JDK相容性: jdk 1.7+
-
Spring boot相容性:1.x,2.x
-
ORM和DSL二者兼顧,類mybatis方式操作ElasticSearch,
-
提供快速而高效的資料匯入ES工具
v5.2.1 功能改進
-
支援elasticsearch 6.x的join type父子關聯查詢
elasticsearch 5.x父子查詢示例:
ofollow,noindex">https://gitee.com/bbossgroups/eshelloword-booter/tree/master/src/test/java/org/bboss/elasticsearchtest/parentchild
elasticsearch 6.x父子查詢示例:
https://gitee.com/bbossgroups/eshelloword-booter/tree/master/src/test/java/org/bboss/elasticsearchtest/jointype
https://my.oschina.net/bboss/blog/2247795
-
ClientInterface API增加獲取dsl配置資訊的方法:
ClientInterface clientInterface = ElasticSearchHelper.getConfigRestClientUtil("esmapper/joinparentchild.xml"); //通過名稱bulkImportQuestionData獲取esmapper/joinparentchild.xml中定義的dsl資訊物件 ESInfo esInfo = clientInterface.getESInfo("bulkImportQuestionData"); String dsl = esInfo.getTemplate();//獲取dsl指令碼
多功能改進請瀏覽:commit
快速整合和應用參考文件
所有專案整合參考文件:https://my.oschina.net/bboss/blog/1801273
spring boot專案整合參考文件:https://my.oschina.net/bboss/blog/1835601
詳細使用文件
https://my.oschina.net/bboss/blog/1556866