Wednesday 09 June 2010 8:57:02 am
When using the eZSolrBase->rawSolrRequest function you can issue a third parameter which specifies the response format ... which can be json instead of the default "php" (which is a PHP array) eZSolrBase->rawSolrRequest($request, $params, 'json')
That saves the json_encode step The same is true when you use the rawSearch method (where the response format is the second argument) hth Paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|