PHP SDK for implementing the query or data push feature

Updated at: 2025-04-03 08:32

OpenSearch SDK for PHP encapsulates the API operations that are used to implement features such as application management, data processing, and searching. The OpenSearch team of Alibaba Cloud continues to provide more features and fix bugs in OpenSearch SDK for PHP based on version iterations.

Latest version

The latest version of OpenSearch SDK for PHP is V3.4.1, which was released in May 2021. We recommend that you use the latest version.

Version history

Only PHP 5.3 and later are supported. We recommend that you use PHP 5.4 or later.

V3.4.1 (2021-05-11)

  • The requests for the Management and Control API are discontinued.

Download URL

V3.3.0 (2020-04-21)

New features:

  • 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 and SuggestionClient classes are added.

Download URL

V3.2.1 (2019-09-12)

Feature description:

  • Data collection 2.0 is supported.

  • HTTPS is supported.

  • The parameter passing issue in A/B tests is fixed.

Download URL

V3.2.0 (2019-08-23)

  • Data collection 2.0 is supported.

V3.1.0 (2018-09-03)

  • The A/B test feature is supported.

  • The collection of behavioral data is supported.

V3.0.2 (2017-11)

New features:

  • The document search feature is supported.

  • The drop-down suggestion feature is supported.

  • The query analysis feature is supported.

  • The scroll query feature is supported.

  • Cross-application queries are supported. In V3.x.x of OpenSearch SDK for PHP, use commas (,) to separate application names. In V2.x.x, use semicolons (;) to separate application names.

Compatibility:

  • Advanced and standard applications are supported.

Bug fixes:

  • The name of the parameter that specifies the number of drop-down suggestions to be displayed was invalid.

  • The reRankSize parameter failed to be configured.

V3.0.1 (2017-07)

New features:

  • The document search feature is supported.

  • The drop-down suggestion feature is supported.

  • The query analysis feature is supported.

  • The scroll query feature is supported.

  • Cross-application queries are supported. In V3.x.x of OpenSearch SDK for PHP, use commas (,) to separate application names. In V2.x.x, use semicolons (;) to separate application names.

  • The definition of the arg parameter is required before you use this parameter. Otherwise, if the log level of OpenSearch SDK for PHP is set to Notice, the following error returns: Undefined variable: arg.

Compatibility:

  • Advanced and standard applications are supported.

Feature enhancement:

  • The kvpairs clause is supported.

V3.0.0 (2017-05)

New features:

  • The document search feature is supported.

  • The drop-down suggestion feature is supported.

  • The query analysis feature is supported.

  • The scroll query feature is supported.

  • Cross-application queries are supported. In V3.x.x of OpenSearch SDK for PHP, use commas (,) to separate application names. In V2.x.x, use semicolons (;) to separate application names.

Compatibility:

  • Advanced and standard applications are supported.

  • On this page (1)
  • Latest version
  • Version history
  • V3.4.1 (2021-05-11)
  • V3.3.0 (2020-04-21)
  • V3.2.1 (2019-09-12)
  • V3.2.0 (2019-08-23)
  • V3.1.0 (2018-09-03)
  • V3.0.2 (2017-11)
  • V3.0.1 (2017-07)
  • V3.0.0 (2017-05)
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare