PHP Serialized Response Writer
------------------------------

                 Key: SOLR-275
                 URL: https://issues.apache.org/jira/browse/SOLR-275
             Project: Solr
          Issue Type: New Feature
          Components: clients - php
    Affects Versions: 1.2
            Reporter: Nick Jenkin
            Priority: Minor


A PHP response writer that returns a serialized array that can be used with the 
PHP function unserialize ( http://php.net/unserialize )

Built off the JSON Writer

I was not sure if this should be merged with 
https://issues.apache.org/jira/browse/SOLR-196

I have tried to keep code duplication very minimal, but always room for 
improvement!

Place PHPResponseWriter.java in src/org/apache/solr/request
Add the below to your solrconfig.xml:
<queryResponseWriter name="php" 
class="org.apache.solr.request.PHPResponseWriter"/>

Description of PHP serialization format: 
http://www.hurring.com/scott/code/perl/serialize/


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to