[jira] Issue Comment Edited: (SOLR-196) A PHP response writer for Solr

2009-05-11 Thread Andrew McCombe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708172#action_12708172
 ] 

Andrew McCombe edited comment on SOLR-196 at 5/11/09 12:57 PM:
---

I'm finding occasionally that the return from the php response writer fails to 
unserialize in PHP5. 

I have a number of fields in the 'fl=' parameter of my query and it works fine 
until I add the field name 'recommended'.  It then fails.  If I remove all 
other field names and leave fl=recommended it still fails.

I can see the output and it contains the results, but fails on unserializing in 
PHP.

Is 'recommended' some sort of reserved word?

  was (Author: euperia):
I'm finding occasionally that the return from the php response writer fails 
to unserialize in PHP5. 
  
> A PHP response writer for Solr
> --
>
> Key: SOLR-196
> URL: https://issues.apache.org/jira/browse/SOLR-196
> Project: Solr
>  Issue Type: New Feature
>  Components: clients - php, search
>Reporter: Paul Borgermans
> Fix For: 1.3
>
> Attachments: SOLR-192-php-responsewriter.patch, 
> SOLR-196-PHPResponseWriter.patch
>
>
> It would be useful to have a PHP response writer that returns an array to be 
> eval-ed directly. This is especially true for PHP4.x installs, where there is 
> no built in support for JSON.
> This issue attempts to address this.

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



[jira] Issue Comment Edited: (SOLR-196) A PHP response writer for Solr

2009-03-09 Thread Peter Wolanin (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680288#action_12680288
 ] 

Peter Wolanin edited comment on SOLR-196 at 3/9/09 4:39 PM:


This PHP writer is inconsistent with the JSON if you use php 5's decode_json, 
maps come back as objects.

  was (Author: pwolanin):
This serialized writer produces output that is inconsistent with the other 
PHP writer and inconsistent with the JSON.
  
> A PHP response writer for Solr
> --
>
> Key: SOLR-196
> URL: https://issues.apache.org/jira/browse/SOLR-196
> Project: Solr
>  Issue Type: New Feature
>  Components: clients - php, search
>Reporter: Paul Borgermans
> Fix For: 1.3
>
> Attachments: SOLR-192-php-responsewriter.patch, 
> SOLR-196-PHPResponseWriter.patch
>
>
> It would be useful to have a PHP response writer that returns an array to be 
> eval-ed directly. This is especially true for PHP4.x installs, where there is 
> no built in support for JSON.
> This issue attempts to address this.

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



[jira] Issue Comment Edited: (SOLR-196) A PHP response writer for Solr

2009-03-09 Thread Peter Wolanin (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680288#action_12680288
 ] 

Peter Wolanin edited comment on SOLR-196 at 3/9/09 2:33 PM:


This serialized writer produces output that is inconsistent with the other PHP 
writer and inconsistent with the JSON.

  was (Author: pwolanin):
This serialized writer produces output that is inconsistent with the other 
PHP writer adn inconsistent with the JSON
  
> A PHP response writer for Solr
> --
>
> Key: SOLR-196
> URL: https://issues.apache.org/jira/browse/SOLR-196
> Project: Solr
>  Issue Type: New Feature
>  Components: clients - php, search
>Reporter: Paul Borgermans
> Fix For: 1.3
>
> Attachments: SOLR-192-php-responsewriter.patch, 
> SOLR-196-PHPResponseWriter.patch
>
>
> It would be useful to have a PHP response writer that returns an array to be 
> eval-ed directly. This is especially true for PHP4.x installs, where there is 
> no built in support for JSON.
> This issue attempts to address this.

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