com.github.yang69:commons-es

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Группа

Группа

com.github.yang69
Идентификатор

Идентификатор

commons-es
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Система контроля версий

Система контроля версий

https://github.com/yang69/commons-es

Скачать commons-es

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.yang69/commons-es/ -->
<dependency>
    <groupId>com.github.yang69</groupId>
    <artifactId>commons-es</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.yang69/commons-es/
implementation 'com.github.yang69:commons-es:1.0'
// https://jarcasting.com/artifacts/com.github.yang69/commons-es/
implementation ("com.github.yang69:commons-es:1.0")
'com.github.yang69:commons-es:jar:1.0'
<dependency org="com.github.yang69" name="commons-es" rev="1.0">
  <artifact name="commons-es" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.yang69', module='commons-es', version='1.0')
)
libraryDependencies += "com.github.yang69" % "commons-es" % "1.0"
[com.github.yang69/commons-es "1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

commons-es

This library provides a simple way to generate basic Elasticsearch DSL. To use this library, add the following dependency to your project:

该项目提供了一种生成基本的 Elasticsearch DSL 的简单方法。

<dependency>
  <groupId>com.github.yang69</groupId>
  <artifactId>commons-es</artifactId>
  <version>1.0</version>
</dependency>

Version Compatibility: This module is compatible with Elasticsearch 2.x - 6.x.

版本兼容性:兼容于Elasticsearch 2.x 到 6.x

Usage | 使用方法

String dslString = new ElasticsearchQuery()
          .filter("name", "yang")
          .notFilter("sex", "male")
          .exists("job")
          .notExists("crime")
          .range("age", "gte", 18, "lt", 60)
          .size(10)
          .from(1)
          .build()

Change Log | 更改日志

1.0 支持简单的过滤条件(满足/不满足/满足其一/一个都不满足)、简单的范围过滤(满足/不满足)、分页查询、存在性判断(存在/不存在)

Версии библиотеки

Версия
1.0