I am little confused about your question.

Incase you are looking to access the json object returned by solr, decode
the json object using a programming language of you choice. The document set
can be accessed using $json['response']['docs'](in PHP). This is an array of
hashes(associative arrays). Each element of this array is one document. You
can iterate through this document and display the results as doc[fieldname].

But if you are looking for the internals of the JSON response writer, you
can look at the JSONResponseWriter.java in package org.apache.solr.request.


On Tue, May 31, 2011 at 11:52 AM, Romi <romijain3...@gmail.com> wrote:

> Thanks for reply, But i want to know how Json does it internally, I mean
> how
> it display results as Field:value.
>
> -----
> Thanks & Regards
> Romi
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-display-solr-search-results-in-Json-format-tp3004734p3004768.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Thanks and Regards,
DakshinaMurthy

Reply via email to