All Products
Search
Document Center

Release notes

Last Updated: Sep 09, 2021

Release notes

OpenSearch SDK for Java encapsulates the API operations that are used for implementing features such as data processing and searching. To implement other features, use Management and Control SDKs.

<dependency>
    <groupId>com.aliyun.opensearch</groupId>
    <artifactId>aliyun-sdk-opensearch</artifactId>
    <version>3.5.1</version>
</dependency>

Compatibility

  • The V3.1.3 version of OpenSearch SDK for Java differs greatly from the V2.1.x versions. The V2.1.x versions DO NOT support standard applications.

  • The V3.1.3 and later versions of OpenSearch SDK for Java support advanced and standard applications.

  • Cross-application queries are NOT supported.

  • In OpenSearch SDK for Java V3.1.3, sorting is not supported for scroll queries.

Version history

V3.5.1 (2020-04-24)

  • Temporary Security Token Service (STS) tokens are supported.

  • The Rank.secondRankType parameter for the search feature is added. Valid values: EXPRESSION and CAVA_SCRIPT.

  • The userId and reSearch parameters for the drop-down suggestion feature are added. The reSearch parameter can be set to HOMONYM.

  • The SuggestParams class and the execute method for the drop-down suggestion feature are added.

V3.4.1 (2019-09-17)

V3.3.0 (2018-09-03)

  • Maven dependency

    <dependency>
      <groupId>com.aliyun.opensearch</groupId>
      <artifactId>aliyun-sdk-opensearch</artifactId>
      <version>3.3.0</version>
    </dependency>

Version description

New features

  • The A/B test feature is supported.

  • The collection of behavioral data is supported.

V3.2.0 (2018-06-07)

  • Maven dependency

    <dependency>
      <groupId>com.aliyun.opensearch</groupId>
      <artifactId>aliyun-sdk-opensearch</artifactId>
      <version>3.2.0</version>
    </dependency>

Version description

New features

  • Scroll queries support sorting based on a single field of the int type.

  • The switchTo method is added to the AppClient class to switch the versions of multiple applications at a time.

  • Cross-application queries are supported.

  • You can use an application name or ID to query or update the quotas of the application.

  • You can modify billing models and quotas for applications, such as specifications, storage capacity, and computing resources.

  • The drop-down suggestion feature is updated.

Bug fixes

  • After a response is received for a request, the request is closed. If the request is not closed and the response is in the GZIP format, the connection used by the request is still occupied instead of being returned to the connection pool. In this case, the connections in the connection pool will run out, which will cause the SDK to stop responding.

V3.1.3 (2017-04-14)

  • Maven dependency

    <dependency>
      <groupId>com.aliyun.opensearch</groupId>
      <artifactId>aliyun-sdk-opensearch</artifactId>
      <version>3.1.3</version>
    </dependency>