When you set your cache (solrconfig.xml) to size=0, you are not using a
cache. so you can debug more easily

roman


On Thu, Aug 1, 2013 at 1:12 PM, jimtronic <jimtro...@gmail.com> wrote:

> I have a query that runs slow occasionally. I'm having trouble debugging it
> because once it's cached, it runs fast -- under 10 ms. But throughout the
> day it occasionally takes up to 3 secs. It seems like it could be one of
> the
> following:
>
> 1. My autoCommit (300000 and openSearcher=false) and softAutoCommit (10000)
> settings
> 2. Something to do with distributed search -- There are three nodes, but
> only 1 shard each.
> 3. Just a slow query that is getting blown out of cache periodically
>
> This is in Solr 4.2.
>
> I like that it runs fast when cached, but if it's going to be blown out
> quickly, then I'd really like to just optimize the query to run fast
> uncached.
>
> *Is there any way to run a query using no caching whatsoever?*
>
> The query changes, but has *:* for the q param and 4 fq parameters. It's
> also trying to do field collapsing.
>
> Jim
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-uncache-a-query-to-debug-tp4082010.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to