Disabling Query result cache at runtime

2015-11-13 Thread KNitin
Hi,

 Is there a way to make solr not cache the results when we send the query?
(mainly for query result cache). I need to still enable doc and filter
caching.

Let me know if this is possible,

Thanks
Nitin


Re: Disabling Query result cache at runtime

2015-11-13 Thread Erick Erickson
Why do you want to do this? Worst-case testing?

But you can always set your size parameter for the queryResultCache to 0.

On Fri, Nov 13, 2015 at 10:31 AM, KNitin  wrote:
> Hi,
>
>  Is there a way to make solr not cache the results when we send the query?
> (mainly for query result cache). I need to still enable doc and filter
> caching.
>
> Let me know if this is possible,
>
> Thanks
> Nitin


Re: Disabling Query result cache at runtime

2015-11-13 Thread KNitin
Yes for worst case analysis. I usually do this by setting it in zk config
but wanted to check if we can do this at runtime. We tried the
q={!cache=false} but it does not help.

On Fri, Nov 13, 2015 at 12:53 PM, Mikhail Khludnev <
mkhlud...@griddynamics.com> wrote:

> Does q={!cache=false}foo:bar&... work in this case?
>
> On Fri, Nov 13, 2015 at 9:31 PM, KNitin  wrote:
>
> > Hi,
> >
> >  Is there a way to make solr not cache the results when we send the
> query?
> > (mainly for query result cache). I need to still enable doc and filter
> > caching.
> >
> > Let me know if this is possible,
> >
> > Thanks
> > Nitin
> >
>
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> Principal Engineer,
> Grid Dynamics
>
> 
> 
>


Re: Disabling Query result cache at runtime

2015-11-13 Thread Mikhail Khludnev
Does q={!cache=false}foo:bar&... work in this case?

On Fri, Nov 13, 2015 at 9:31 PM, KNitin  wrote:

> Hi,
>
>  Is there a way to make solr not cache the results when we send the query?
> (mainly for query result cache). I need to still enable doc and filter
> caching.
>
> Let me know if this is possible,
>
> Thanks
> Nitin
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics