lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject RE: Custom Response writer
Date Fri, 16 Jun 2017 14:34:15 GMT
Yes, index the employee and item names instead of only their ID's. And if you can't for some
reason, i'd implement a DocTransformer instead of a ResponseWriter.


-----Original message-----
> From:mganeshs <>
> Sent: Friday 16th June 2017 16:19
> To:
> Subject: Custom Response writer
> Hi, 
> We have requirement like in the response we would like to add description of
> an item with item id(this field comes from solr response by default) or
> employee name along with employee id ( this is just an example use case ). 
> In the solr document what we have is only item id or employee id. But after
> the query executes and result is returned, in the response we need to fill
> employee name or item name. 
> So we decided to customize xmlwriter and in the place of filling the xml
> tags, we are checking and creating the additional tag for employee name or
> item name. These names / additional info are read from our own read through
> cache which are loaded in a static block.
> Is there a better way/option than customizing the xmlwriter ? 
> Regards,
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message