diff --git a/README-ZH.md b/README-ZH.md index cecaa5f..63e1570 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -139,7 +139,7 @@ compile group: 'org.dromara.easy-es', name: 'easy-es-boot-starter', version: 'La # 其他开源项目 | Other Project - +- [零侵入全自动接口文档生成框架](https://www.doc-apis.com) - [健身计划一键生成系统](https://gitee.com/easy-es/fit-plan) # 期望 | Futures @@ -175,14 +175,18 @@ QQ | 微信:252645816 > 我们的广告投放商,如果您期望Easy-Es能够走得更远,不妨点击下图,支持一下我们的广告商Thanks♪(・ω・)ノ + + ad + + +
+ ad
- - ad diff --git a/README.md b/README.md index fe27965..9c393b0 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ Easy-Es is a powerfully enhanced toolkit of RestHighLevelClient for simplify dev **easy-es website** https://en.easy-es.cn/ +**easy-es gitcode** https://gitcode.com/dromara/easy-es + **easy-es gitee** https://gitee.com/dromara/easy-es **easy-es github** https://github.com/dromara/easy-es @@ -58,9 +60,10 @@ Easy-Es is a powerfully enhanced toolkit of RestHighLevelClient for simplify dev ```java - -// Use Easy-Es to complete the query with only 1 lines of code -List documents = documentMapper.selectList(EsWrappers.lambdaQuery(Document.class).eq(Document::getTitle, "Hi").eq(Document::getCreator, "Guy")); +// Use Easy-Es to complete the query with only 3 lines of code +LambdaEsQueryWrapper wrapper = new LambdaEsQueryWrapper<>(); + wrapper.eq(Document::getTitle, "Hi").eq(Document::getCreator, "Guy"); + List documents = documentMapper.selectList(wrapper); ``` ```java @@ -86,10 +89,8 @@ String indexName = "document"; > The above is just a simple query demonstration. The more complex the actual query scene, the better the effect, which can save 3-5 times the amount of code on average. ## Getting started -- Latest Version: [![Maven Central](https://img.shields.io/github/v/release/xpc1024/easy-es?include_prereleases&logo=xpc&style=plastic)](https://search.maven.org/search?q=g:io.github.xpc1024%20a:easy-*) - -- Add Easy-Es dependency - +- Add Easy-Es dependency + - Latest Version: [![Maven Central](https://img.shields.io/github/v/release/xpc1024/easy-es?include_prereleases&logo=xpc&style=plastic)](https://search.maven.org/search?q=g:io.github.xpc1024%20a:easy-*) - Maven: ```xml @@ -135,7 +136,6 @@ String indexName = "document"; ## MySQL Easy-Es and Es syntax comparison table - | MySQL | Easy-Es | Es-DSL/Es java api| | --- | --- |--- | | and | and |must| @@ -171,6 +171,7 @@ String indexName = "document"; | select * | matchAllQuery |QueryBuilders.matchAllQuery()| | - | highLight |HighlightBuilder.Field | | ... | ... | ...| +--- ## Advertising provider -
- - - ad - - -
- - - ad ## Donate