Sarvo, What are you trying to achieve? Describe the use case. Cheers -- Rick
On September 6, 2017 12:36:08 PM EDT, "Davis, Daniel (NIH/NLM) [C]" <daniel.da...@nih.gov> wrote: >It should be possible with a custom response handler. > >-----Original Message----- >From: Sarvothaman Madhavan [mailto:relad...@gmail.com] >Sent: Wednesday, September 06, 2017 10:17 AM >To: solr-user@lucene.apache.org >Subject: Customizing JSON response of a query > >Hello all, >After a week of research I've come to the conclusion that there is no >mechanism within solr where I can create a nested json response like >this: >https://pastebin.com/XavvUP94 . I am able to get something like this >https://pastebin.com/FeXRqG59. >1. Am I right in assuming that within solr this is not possbile? >2. Assuming it is, I imagine I would need to write custom response >writer in Java to customize the response. I am having a hard time >locating the right resource to get me started on writing this. > >Any ideas? > >Thanks, >Sarvo -- Sorry for being brief. Alternate email is rickleir at yahoo dot com