Thanks, but that doesn't seem to do much. I've added it to all four of the fq params and the q param, but it only makes it marginally slower -- like 50 ms instead of 2 ms. There appears to be a deeper or more widely encompassing cache at work here.
Jim On Thu, Aug 1, 2013 at 2:49 PM, Mikhail Khludnev [via Lucene] < ml-node+s472066n4082044...@n3.nabble.com> wrote: > Hello Jim, > > Does q={!cache=false}lorem ipsum works for you? > > > On Thu, Aug 1, 2013 at 9:12 PM, jimtronic <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4082044&i=0>> > 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. > > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <[hidden email] <http://user/SendEmail.jtp?type=node&node=4082044&i=1>> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/How-to-uncache-a-query-to-debug-tp4082010p4082044.html > To unsubscribe from How to uncache a query to debug?, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4082010&code=amltdHJvbmljQGdtYWlsLmNvbXw0MDgyMDEwfDEzMjQ4NDk0MTQ=> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-uncache-a-query-to-debug-tp4082010p4082046.html Sent from the Solr - User mailing list archive at Nabble.com.