zing / alibabacloud-opensearch
Alibaba Cloud OpenSearch SDK for PHP
Installs: 12 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.3
Requires (Dev)
- phpunit/phpunit: ^5.5 || ^8.5
- rector/rector: ^0.11.14
This package is auto-updated.
Last update: 2024-12-24 21:50:20 UTC
README
Opensearch restful API version v3
Overview
This SDK contains wrapper code used to call the OpenSearch Cloud restful API from PHP.
Prerequisites
How to start
- Downlaod the PHP SDK zip and unzip it.
- Move the SDK to your project.
- View the demo directory, there are some samples likes app control, document push, app search, suggest search and etc.
Changes in version 3.3.0 (date: 2020-04-21)
- NEW: 支持临时安全令牌(STS)
- NEW: 新增搜索参数Rank.secondRankType(EXPRESSION|CAVA_SCRIPT)
- NEW: 新增下拉提示参数userId和reSearch(HOMONYM)
- NEW: 新增SuggestParams与SuggestionClient类
Changes in version 3.2.1 (date: 2019-09-12)
- FIXED: 修复 abtest 传参问题
Changes in version 3.2.0 (date: 2019-08-23)
- NEW: 数据采集 2.0
Changes in version 3.1.0 (date: 2018-09-03)
- NEW: 支持 A/B Test
- NEW: 支持 行为数据采集
Changes in version 3.0.1 (date:2017-06-09)
- 在使用arg之前先定义arg,否则在php的log level为Notice的时候会报出"Undefined variable: arg"