Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-275

PHP Serialized Response Writer

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: clients - php
    • Labels:
      None

      Description

      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/

        Attachments

        1. PHPResponseWriter.java
          8 kB
          Nick Jenkin
        2. PHPResponseWriter.java
          8 kB
          Tristan Vittorio

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nickjenkin Nick Jenkin
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: