php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68314 SolrDisMaxQuery::addBoostQuery() truncated strings
Submitted: 2014-10-28 00:47 UTC Modified: 2014-10-28 00:47 UTC
From: omars@php.net Assigned: omars (profile)
Status: Closed Package: solr (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: omars@php.net
New email:
PHP Version: OS:

 

 [2014-10-28 00:47 UTC] omars@php.net
Description:
------------
Query values gets truncated

Test script:
---------------
$dismaxQuery
->addBoostQuery('cat', 'electronics', 5.1)
->addBoostQuery('cat', 'hard drive')
;

Expected result:
----------------
q=lucene&defType=dismax&bq=cat:electronics^5.1 cat:hard drive

Actual result:
--------------
q=lucene&defType=dismax&bq=cat:electr^5.1 cat:hard drive

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-28 00:47 UTC] omars@php.net
-Assigned To: +Assigned To: omars
 [2014-10-28 00:52 UTC] omars@php.net
Automatic comment on behalf of omars
Revision: http://git.php.net/?p=pecl/search_engine/solr.git;a=commit;h=2f4d58eaf9c2ab55bcfa9f52b59f1454e7d7b838
Log: Fix Bug #68314 	SolrDisMaxQuery::addBoostQuery() truncated strings
 [2014-10-28 00:52 UTC] omars@php.net
-Status: Assigned +Status: Closed
 [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=2f4d58eaf9c2ab55bcfa9f52b59f1454e7d7b838
Log: Fix Bug #68314 	SolrDisMaxQuery::addBoostQuery() truncated strings
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 07:01:31 2024 UTC