/PostBigExtractRequest

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.

Primary LanguagePHPApache License 2.0Apache-2.0

PostBigExtractRequest

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.