You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Nagelberg, Kallin" <KN...@globeandmail.com> on 2010/05/06 23:22:26 UTC

cache control per-request

Hey everyone,

Does anyone know if it is possible to control cache behavior on a per-request basis? I would like to be able to use the queryResultCache for certain queries, but have it bypassed for others. IE, I know at query time if there is 0 chance of a hit and would like to avoid the cache on those. If I can do that it leaves space in the cache for those that may actually hit.

Thanks,
-Kallin Nagelberg