lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mganeshs <mgane...@live.in>
Subject Custom Response writer
Date Fri, 16 Jun 2017 14:19:03 GMT
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: http://lucene.472066.n3.nabble.com/Custom-Response-writer-tp4340908.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message