php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #67660 SolrResponse::getArrayResponse
Submitted: 2014-07-21 13:09 UTC Modified: 2015-01-11 20:49 UTC
From: omars@php.net Assigned: omars (profile)
Status: Closed Package: solr (PECL)
PHP Version: Irrelevant OS: Any
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-07-21 13:09 UTC] omars@php.net
Description:
------------
Implement SolrResponse::getArrayResponse() to return array version of the Solr Server Response for any response writer.

Test script:
---------------
// instance of Solrclient
$client->setResponseWriter($responseWriter);
$q = new SolrQuery("lucene");
$response = $client->query ( $q );
$arrayResponse = $response->getArrayResponse();
var_dump(is_array($arrayResponse));

Expected result:
----------------
bool(true)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-21 13:09 UTC] omars@php.net
-Assigned To: +Assigned To: omars
 [2015-01-11 20:49 UTC] omars@php.net
-Status: Assigned +Status: Closed
 [2015-01-11 20:49 UTC] omars@php.net
Resolved on master/version 2.1.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 18:01:35 2024 UTC