Rajani is right you can get response by passing wt=json. But I think if you want to use solrj then you will require to parse binary format data in json format or you can use third party json parser.

regards
Ranveer
http://www.onlymyhealth.com

On Thursday 29 July 2010 09:55 AM, rajini maski wrote:
Yeah right... This query will do it....

http://localhost:8090/solr/select/?q=*:*&version=2.2&start=0&rows=10&indent=on&wt=json

This will do your work... This is more liike using xsl transformation
supported by solr..:)

Regards,
Rajani Maski


On Wed, Jul 28, 2010 at 6:24 PM, Mark Allan<mark.al...@ed.ac.uk>  wrote:

I think you should just be able to add&wt=json to the end of your query
(or change whatever the existing wt parameter is in your URL).

Mark


On 28 Jul 2010, at 12:54 pm, MitchK wrote:


Hello community,

I need to transform SolrJ - responses into JSON, after some computing on
those results by another application has finished.

I can not do those computations on the Solr - side.

So, I really have to translate SolrJ's output into JSON.

Any experiences how to do so without writing your own JSON-writer?

Thank you.
- Mitch
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrJ-Response-JSON-tp1002024p1002024.html
Sent from the Solr - User mailing list archive at Nabble.com.


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



Reply via email to