Yes, my use case is security.  Basically I am executing queries with
certain auths and when they are executed multiple times with differing
auths I'm getting cached results.  One option is to have another
implementation that has a number of caches based on the auths, something
that I suspect we will at some point go (unless there is a better solution
;).  I'd be happy to look at other options so all suggestions are
appreciated.

On Tue, Aug 18, 2015 at 6:56 PM, Yonik Seeley <ysee...@gmail.com> wrote:

> You can comment out (some) of the caches.
>
> There are some caches like field caches that are more at the lucene
> level and can't be disabled.
>
> Can I ask what you are trying to prevent from being cached and why?
> Different caches are for different things, so it would seem to be an
> odd usecase to disable them all.  Security?
>
> -Yonik
>
>
> On Tue, Aug 18, 2015 at 6:52 PM, Jamie Johnson <jej2...@gmail.com> wrote:
> > I see that if Solr is in realtime mode that caching is disable within the
> > SolrIndexSearcher that is created in SolrCore, but is there anyway to
> > disable caching without being in realtime mode?  Currently I'm
> implementing
> > a NoOp cache that implements SolrCache but returns null for everything
> and
> > doesn't return anything on the get requests, but it would be nice to not
> > need to do this by being able to disable caching in general.  Is this
> > possible?
> >
> > -Jamie
>

Reply via email to