: I don't think I'm quite getting this. Instead of going down that low,
: could you make your own ResponseWriter? That has access to all
: the information in the doc, and it seems like you could reach out to
: the DB at that point and get your information merrily adding it to the
: docs.

Agreed.  In 3.x and below this type of logic is expected to live in the 
QueryResponseWriters.  The new "Transformer" API in 4.x makes this easier 
to deal with ... so you can add/modify fields to SolrDocuments regardless 
of what response writer is in use.

https://wiki.apache.org/solr/DocTransformers
https://builds.apache.org/view/G-L/view/Lucene/job/Solr-trunk/javadoc/org/apache/solr/response/transform/DocTransformer.html
https://issues.apache.org/jira/browse/SOLR-1566

-Hoss

Reply via email to