Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by PieterBerkel: http://wiki.apache.org/solr/SolPHP The comment on the change is: Fixed serialized php example, added note about configuring solrconfig.xml ------------------------------------------------------------------------------ Example usage: {{{ - $serializedResult = file_get_contents('http://localhost:8983/solr/select?q=iPod&wt=php'); + $serializedResult = file_get_contents('http://localhost:8983/solr/select?q=iPod&wt=phps'); $result = unserailize($serializedResult); print_r($result); }}} + + In order to use either PHP or Serialized PHP Response Writers, you may first need to uncomment these two lines in your solrconfig.xml: + {{{ + <queryResponseWriter name="php" class="org.apache.solr.request.PHPResponseWriter"/> + <queryResponseWriter name="phps" class="org.apache.solr.request.PHPSerializedResponseWriter"/> + }}} + ---- CategoryQueryResponseWriter
