I want a couple of costly queries to be cached at all times in the
queryResultCache. (unless I have a new searcher of course) 

As for as I know the only parameters to be supplied to the
LRU-implementation of the queryResultCache are size-related, which doens't
give me this guarentee. 

what would be my best bet to implement this functionality with the least
impact?
1. use User/Generic-cache. This would result in seperate coding-path in
application which I would like to avoid. 
2. exend LRU-cache, and extend request-handler so that a query can be
extended with a parameter indicating that it should be cached at all times.
However, this seems like a lot of cluttering-up these interfaces, for a
relatively small change. 
3. another option..

best regards,
Geert-Jan
-- 
View this message in context: 
http://www.nabble.com/how-to-make-sure-a-particular-query-is-ALWAYS-cached-tf4566711.html#a13035381
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to