diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 28c8c7d..a9db880 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -14,7 +14,7 @@ jobs:
GPGKEY: ${{ secrets.GPGKEY }}
strategy:
matrix:
- java: [ '11' ]
+ java: [ '17' ]
services:
manticoresearch-manticore:
image: manticoresearch/manticore:dev
diff --git a/README.md b/README.md
index f7c964a..6dd31b5 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,11 @@
# Manticore Java client
-❗ WARNING: this is a development version of the client. The latest release's readme is https://github.com/manticoresoftware/manticoresearch-java/tree/4.1.0
Manticore Search Client
-- API version: 4.1.0
+- API version: 5.0.0
-- Build date: 2023-12-18T10:27:43.373739969Z[Etc/UTC]
+- Build date: 2023-12-18T11:24:55.908019234Z[Etc/UTC]
Сlient for Manticore Search.
@@ -15,7 +14,7 @@ Manticore Search Client
Building the API client library requires:
-1. Java 1.8+
+1. Java 17+
2. Maven/Gradle
| Manticore Search | manticoresearch-java |
@@ -48,7 +47,7 @@ Add this dependency to your project's POM:
com.manticoresearch
manticoresearch
- 4.1.0
+ 5.0.0
compile
```
@@ -64,7 +63,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.manticoresearch:manticoresearch:4.1.0"
+ implementation "com.manticoresearch:manticoresearch:5.0.0"
}
```
@@ -78,7 +77,7 @@ mvn clean package
Then manually install the following JARs:
-- `target/manticoresearch-4.1.0.jar`
+- `target/manticoresearch-5.0.0.jar`
- `target/lib/*.jar`
## Getting Started
diff --git a/build.gradle b/build.gradle
index b344dd6..d67b5f2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'
group = 'com.manticoresearch'
-version = '4.1.0'
+version = '5.0.0'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index 0493df3..733f73c 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.manticoresearch",
name := "manticoresearch",
- version := "4.1.0",
+ version := "5.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
diff --git a/pom.xml b/pom.xml
index c1677b7..3e3cf71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
manticoresearch
jar
manticoresearch
- 4.1.0
+ 5.0.0
https://github.com/manticoresoftware/manticoresearch-java
Client for Manticore Search
diff --git a/src/main/java/com/manticoresearch/client/ApiClient.java b/src/main/java/com/manticoresearch/client/ApiClient.java
index eac231d..d92f902 100644
--- a/src/main/java/com/manticoresearch/client/ApiClient.java
+++ b/src/main/java/com/manticoresearch/client/ApiClient.java
@@ -75,7 +75,7 @@
/**
* ApiClient class.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class ApiClient extends JavaTimeFormatter {
private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$");
@@ -130,7 +130,7 @@ public ApiClient(Map authMap) {
this.dateFormat = new RFC3339DateFormat();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/4.1.0/java");
+ setUserAgent("OpenAPI-Generator/5.0.0/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<>();
diff --git a/src/main/java/com/manticoresearch/client/ApiException.java b/src/main/java/com/manticoresearch/client/ApiException.java
index 89f4c43..2719af3 100644
--- a/src/main/java/com/manticoresearch/client/ApiException.java
+++ b/src/main/java/com/manticoresearch/client/ApiException.java
@@ -19,7 +19,7 @@
/**
* API Exception
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class ApiException extends Exception {
private int code = 0;
private Map> responseHeaders = null;
diff --git a/src/main/java/com/manticoresearch/client/Configuration.java b/src/main/java/com/manticoresearch/client/Configuration.java
index 283cb86..bf2d400 100644
--- a/src/main/java/com/manticoresearch/client/Configuration.java
+++ b/src/main/java/com/manticoresearch/client/Configuration.java
@@ -13,7 +13,7 @@
package com.manticoresearch.client;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class Configuration {
private static ApiClient defaultApiClient = new ApiClient();
diff --git a/src/main/java/com/manticoresearch/client/JSON.java b/src/main/java/com/manticoresearch/client/JSON.java
index 378a8a0..de5fd47 100644
--- a/src/main/java/com/manticoresearch/client/JSON.java
+++ b/src/main/java/com/manticoresearch/client/JSON.java
@@ -15,7 +15,7 @@
import jakarta.ws.rs.core.GenericType;
import jakarta.ws.rs.ext.ContextResolver;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class JSON implements ContextResolver {
private ObjectMapper mapper;
diff --git a/src/main/java/com/manticoresearch/client/JavaTimeFormatter.java b/src/main/java/com/manticoresearch/client/JavaTimeFormatter.java
index 2823d7e..8f810c5 100644
--- a/src/main/java/com/manticoresearch/client/JavaTimeFormatter.java
+++ b/src/main/java/com/manticoresearch/client/JavaTimeFormatter.java
@@ -20,7 +20,7 @@
* Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class.
* It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class JavaTimeFormatter {
private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
diff --git a/src/main/java/com/manticoresearch/client/Pair.java b/src/main/java/com/manticoresearch/client/Pair.java
index 7577c30..75c0bab 100644
--- a/src/main/java/com/manticoresearch/client/Pair.java
+++ b/src/main/java/com/manticoresearch/client/Pair.java
@@ -13,7 +13,7 @@
package com.manticoresearch.client;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class Pair {
private String name = "";
private String value = "";
diff --git a/src/main/java/com/manticoresearch/client/StringUtil.java b/src/main/java/com/manticoresearch/client/StringUtil.java
index 2b75d03..49bd0c8 100644
--- a/src/main/java/com/manticoresearch/client/StringUtil.java
+++ b/src/main/java/com/manticoresearch/client/StringUtil.java
@@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
diff --git a/src/main/java/com/manticoresearch/client/api/IndexApi.java b/src/main/java/com/manticoresearch/client/api/IndexApi.java
index df1e404..39fe6f4 100644
--- a/src/main/java/com/manticoresearch/client/api/IndexApi.java
+++ b/src/main/java/com/manticoresearch/client/api/IndexApi.java
@@ -23,7 +23,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class IndexApi {
private ApiClient apiClient;
diff --git a/src/main/java/com/manticoresearch/client/api/SearchApi.java b/src/main/java/com/manticoresearch/client/api/SearchApi.java
index 8068460..94a334b 100644
--- a/src/main/java/com/manticoresearch/client/api/SearchApi.java
+++ b/src/main/java/com/manticoresearch/client/api/SearchApi.java
@@ -19,7 +19,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class SearchApi {
private ApiClient apiClient;
diff --git a/src/main/java/com/manticoresearch/client/api/UtilsApi.java b/src/main/java/com/manticoresearch/client/api/UtilsApi.java
index aff53ad..bae8f44 100644
--- a/src/main/java/com/manticoresearch/client/api/UtilsApi.java
+++ b/src/main/java/com/manticoresearch/client/api/UtilsApi.java
@@ -16,7 +16,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class UtilsApi {
private ApiClient apiClient;
diff --git a/src/main/java/com/manticoresearch/client/auth/ApiKeyAuth.java b/src/main/java/com/manticoresearch/client/auth/ApiKeyAuth.java
index d64ea29..40f32ce 100644
--- a/src/main/java/com/manticoresearch/client/auth/ApiKeyAuth.java
+++ b/src/main/java/com/manticoresearch/client/auth/ApiKeyAuth.java
@@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
diff --git a/src/main/java/com/manticoresearch/client/auth/HttpBasicAuth.java b/src/main/java/com/manticoresearch/client/auth/HttpBasicAuth.java
index d9524ee..84f0c36 100644
--- a/src/main/java/com/manticoresearch/client/auth/HttpBasicAuth.java
+++ b/src/main/java/com/manticoresearch/client/auth/HttpBasicAuth.java
@@ -23,7 +23,7 @@
import java.util.Map;
import java.util.List;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class HttpBasicAuth implements Authentication {
private String username;
private String password;
diff --git a/src/main/java/com/manticoresearch/client/auth/HttpBearerAuth.java b/src/main/java/com/manticoresearch/client/auth/HttpBearerAuth.java
index bd08718..4db4731 100644
--- a/src/main/java/com/manticoresearch/client/auth/HttpBearerAuth.java
+++ b/src/main/java/com/manticoresearch/client/auth/HttpBearerAuth.java
@@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private String bearerToken;
diff --git a/src/main/java/com/manticoresearch/client/model/AbstractOpenApiSchema.java b/src/main/java/com/manticoresearch/client/model/AbstractOpenApiSchema.java
index e61aa4f..ce7c883 100644
--- a/src/main/java/com/manticoresearch/client/model/AbstractOpenApiSchema.java
+++ b/src/main/java/com/manticoresearch/client/model/AbstractOpenApiSchema.java
@@ -24,7 +24,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
diff --git a/src/main/java/com/manticoresearch/client/model/Aggregation.java b/src/main/java/com/manticoresearch/client/model/Aggregation.java
index d27431a..f244837 100644
--- a/src/main/java/com/manticoresearch/client/model/Aggregation.java
+++ b/src/main/java/com/manticoresearch/client/model/Aggregation.java
@@ -41,7 +41,7 @@
})
@JsonTypeName("aggregation")
@JsonIgnoreProperties(ignoreUnknown = true)
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class Aggregation {
public static final String JSON_PROPERTY_TERMS = "terms";
private AggregationTerms terms;
diff --git a/src/main/java/com/manticoresearch/client/model/AggregationSortInnerValue.java b/src/main/java/com/manticoresearch/client/model/AggregationSortInnerValue.java
index 9a2b123..bf3768a 100644
--- a/src/main/java/com/manticoresearch/client/model/AggregationSortInnerValue.java
+++ b/src/main/java/com/manticoresearch/client/model/AggregationSortInnerValue.java
@@ -35,7 +35,7 @@
})
@JsonTypeName("aggregation_sort_inner_value")
@JsonIgnoreProperties(ignoreUnknown = true)
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class AggregationSortInnerValue {
public static final String JSON_PROPERTY_ORDER = "order";
private String order;
diff --git a/src/main/java/com/manticoresearch/client/model/AggregationTerms.java b/src/main/java/com/manticoresearch/client/model/AggregationTerms.java
index 71a53b4..6d8a8cf 100644
--- a/src/main/java/com/manticoresearch/client/model/AggregationTerms.java
+++ b/src/main/java/com/manticoresearch/client/model/AggregationTerms.java
@@ -36,7 +36,7 @@
})
@JsonTypeName("aggregation_terms")
@JsonIgnoreProperties(ignoreUnknown = true)
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class AggregationTerms {
public static final String JSON_PROPERTY_FIELD = "field";
private String field;
diff --git a/src/main/java/com/manticoresearch/client/model/BoolFilter.java b/src/main/java/com/manticoresearch/client/model/BoolFilter.java
index 99cdfd7..ef67ac5 100644
--- a/src/main/java/com/manticoresearch/client/model/BoolFilter.java
+++ b/src/main/java/com/manticoresearch/client/model/BoolFilter.java
@@ -39,7 +39,7 @@
})
@JsonTypeName("boolFilter")
@JsonIgnoreProperties(ignoreUnknown = true)
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T10:27:43.373739969Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-18T11:24:55.908019234Z[Etc/UTC]")
public class BoolFilter {
public static final String JSON_PROPERTY_SHOULD = "should";
private List