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 Bertie Shen <be...@gmail.com> on 2009/11/15 03:43:25 UTC
Is there a way to skip cache for a query
Hey,
I do not want to disable cache completely by changing the setting in
solrconfig.xml. I just want to sometimes skip cache for a query for testing
purpose. So is there a parameter like skipcache=true to specify in
select/?q=hot&version=2.2&start=0&rows=10&skipcache=true to skip cache for
the query [hot]. skipcache can by default be false.
Thanks.
RE: Is there a way to skip cache for a query
Posted by Jake Brownell <ja...@Benetech.org>.
See https://issues.apache.org/jira/browse/SOLR-1363 -- it's currently scheduled for 1.5.
Jake
-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com]
Sent: Sunday, November 15, 2009 11:17 PM
To: solr-user@lucene.apache.org
Subject: Re: Is there a way to skip cache for a query
I don't think that is supported today. It might be useful, though (e.g. something I'd use with an external monitoring service, so that it doesn't always get fast results from the cache).
Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
----- Original Message ----
> From: Bertie Shen <be...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Sat, November 14, 2009 9:43:25 PM
> Subject: Is there a way to skip cache for a query
>
> Hey,
>
> I do not want to disable cache completely by changing the setting in
> solrconfig.xml. I just want to sometimes skip cache for a query for testing
> purpose. So is there a parameter like skipcache=true to specify in
> select/?q=hot&version=2.2&start=0&rows=10&skipcache=true to skip cache for
> the query [hot]. skipcache can by default be false.
>
> Thanks.
Re: Is there a way to skip cache for a query
Posted by Otis Gospodnetic <ot...@yahoo.com>.
I don't think that is supported today. It might be useful, though (e.g. something I'd use with an external monitoring service, so that it doesn't always get fast results from the cache).
Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
----- Original Message ----
> From: Bertie Shen <be...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Sat, November 14, 2009 9:43:25 PM
> Subject: Is there a way to skip cache for a query
>
> Hey,
>
> I do not want to disable cache completely by changing the setting in
> solrconfig.xml. I just want to sometimes skip cache for a query for testing
> purpose. So is there a parameter like skipcache=true to specify in
> select/?q=hot&version=2.2&start=0&rows=10&skipcache=true to skip cache for
> the query [hot]. skipcache can by default be false.
>
> Thanks.