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.
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.
Only PHP 5.3 and later are supported. We recommend that you use PHP 5.4 or later.
Download URL
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
Feature description:
Download URL
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:
Bug fixes:
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:
Feature enhancement:
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: