yggdrashill/post-big-extract-query
Composer 安装命令:
composer require yggdrashill/post-big-extract-query
包简介
Solarium plugin converting GET request into POST, for big extract Solr's query, to avoid ERROR URI limitation HTTP 414 in case there are too many characters on literals parameter.
关键字:
README 文档
README
Solarium plugin for post big extract Solr query. The Solarium PHP library (v. 5.2.0) is affected by an issue: posting extract query with a lot and/or big literals may lead to HTTP 414 "Uri too long" error. So I made this plugin: when literals parameters are too long, they are removed from URI and inserted into post's multipart body.
es:
$plugin_PostBigExtractRequest = new PostBigExtractRequest(); $plugin_PostBigExtractRequest->setCharset( 'UTF-8' ); $client->registerPlugin('postbigextractrequest', $plugin_PostBigExtractRequest);
Tested with Solarium:
- 5.2.0
- 6.1.2
Submitted to Solarium organization (follow the issue) to be included or solved into future release.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2021-07-05