I am also quite interested in getting a serialized PHP array response
writer, after some investigation it doesn't seem as difficult as I
first thought, I will have a try at implementing this when I get some
time, the format of the array would probably end up being the same as
if you were to use json_decode.
-Nick

On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote:
I am also looking for a PHP response writer that outputs serialized PHP
code, I've taken a look at
SOLR-196<http://issues.apache.org/jira/browse/SOLR-196>but it's not
quite what I need.  Unless anyone else has started implementing
one, I will see if I can modify Paul's patch to do the task.

cheers,
Tristan



On 6/25/07, Michael Kimsal <[EMAIL PROTECTED]> wrote:
>
> My experience tells me that serializing/unserializing tends to be faster
> than eval(), especially on larger arrays.  I've looked at the code, trying
> to put together a PHP serialized array output type, but haven't had
> success
> doing it yet.  If I do, it'll be contributed back, but until someone does
> that version, the way Nick suggests is probably the only option.
>
>
> On 6/25/07, Nick Jenkin <[EMAIL PROTECTED]> wrote:
> >
> > Hi James
> > I think you would be better of outputting an PHP array, and running
> > eval() over it, the PHP serialize format is quite complicated.
> >
> > On that note, you might be interested in:
> > http://issues.apache.org/jira/browse/SOLR-196
> > -Nick
> >
> > On 6/25/07, James liu <[EMAIL PROTECTED]> wrote:
> > > which files i should change from source?
> > >
> > > and if i change ok.
> > >
> > > how to compile? just ant dist?
> > >
> > > --
> > > regards
> > > jl
> > >
> >
>
>
>
> --
> Michael Kimsal
> http://webdevradio.com
>

Reply via email to