Otis Gospodnetic wrote:
> AideRSS, eh, nice, welcome :)

;-)

> 
> Since for 1) you will have to go to your DB, why not just store the
> retrieved data somewhere (JVM, memcached...) and simply re-use it for 2?
> * get query
> * get data from DB for filtering
> * store data from DB in cache
> * run query
> * write response using.... custom response writer? (this may not be right,
> I'd have to check).... that grabs the extra data from cache and includes
> it with each hit

Right, that's what we figured on first attempt as well. I'm curious if there
is a 'cleaner' way to do this. Essentially, retrieve a set of results,
decorate it with a bunch of dynamic fields, and then filter via those
fields.

-- 
View this message in context: 
http://www.nabble.com/Solr-%28text%29-%3C%3E-RDMBS-%28dynamic-data%29---best-practies--tp17093678p17097036.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to