php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68307 Solr Parameter Operator Override Issues in arg list
Submitted: 2014-10-26 01:34 UTC Modified: 2014-10-26 01:46 UTC
From: omars@php.net Assigned: omars (profile)
Status: Closed Package: solr (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: omars@php.net
New email:
PHP Version: OS:

 

 [2014-10-26 01:34 UTC] omars@php.net
Description:
------------
Results in binary characters being printed as there is an issue with memory allocation

Test script:
---------------
$dismaxQuery = new SolrDisMaxQuery("lucene");
$dismaxQuery
->addPhraseField('cat', 3, 1)
->addPhraseField('manufacturer', 4, 1)
->addPhraseField('source', 55);
echo $dismaxQuery;

Expected result:
----------------
q=lucene&defType=dismax&pf=cat~1^3@^@^@ manufacturer~1^4@^@^@ source^55

Actual result:
--------------
q=lucene&defType=dismax&pf=cat~1^3 manufacturer~1^4 source^55

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-26 01:44 UTC] omars@php.net
Automatic comment on behalf of omars
Revision: http://git.php.net/?p=pecl/search_engine/solr.git;a=commit;h=60cff757b66c686c287ee05bb5891ee0b6708e60
Log: Fix Bug #68307 Solr Parameter Operator Override Issues in arg list type
 [2014-10-26 01:44 UTC] omars@php.net
-Status: Open +Status: Closed
 [2014-10-26 01:46 UTC] omars@php.net
-Assigned To: +Assigned To: omars
 [2014-11-09 22:18 UTC] omars@php.net
Automatic comment on behalf of omars
Revision: http://git.php.net/?p=pecl/search_engine/solr.git;a=commit;h=60cff757b66c686c287ee05bb5891ee0b6708e60
Log: Fix Bug #68307 Solr Parameter Operator Override Issues in arg list type
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 17:01:33 2025 UTC