Forums / Extensions / eZ Find / Display of output from Solr admin hitting ez db

Display of output from Solr admin hitting ez db

Author Message

Kedar Deshpande

Monday 17 May 2010 7:12:23 am

We have an instance of ezpublish running with the ezFind extension. For searches, we are hitting the solr admin directly and receiving an xml output of the results. The issue is that reading these results is difficult because most of the content is mapped to str nodes.

Does anyone know how to modify the solr output 'template' so that it maps or rather outputs values in a more manageable way?

thanks.

Paul Borgermans

Monday 17 May 2010 1:07:26 pm

Add wt=php or wt=json

So you get either PHP array strings or JSON strings

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Kedar Deshpande

Monday 17 May 2010 2:06:59 pm

The options you suggested do help quite a bit. I'll write a JSON response parser and see if I can pull out the information in a better way for presentation and update this post.

thanks Paul.