Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC17F10F40 for ; Thu, 17 Oct 2013 20:41:10 +0000 (UTC) Received: (qmail 72399 invoked by uid 500); 17 Oct 2013 20:39:56 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 72360 invoked by uid 500); 17 Oct 2013 20:39:54 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 72352 invoked by uid 99); 17 Oct 2013 20:39:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 20:39:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tim@elementspace.com designates 209.85.220.51 as permitted sender) Received: from [209.85.220.51] (HELO mail-pa0-f51.google.com) (209.85.220.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 20:39:49 +0000 Received: by mail-pa0-f51.google.com with SMTP id ld10so944960pab.10 for ; Thu, 17 Oct 2013 13:39:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KB3mjGniwcnOpdI6xgZhMK9uzu/iO57SgiIXmWE30VY=; b=c/MoDdZwD6rbD/3BCaq+w+HUH/ZgT9hGCiZoFX+ABw2WcLgPlJDdu2T6BIA5md9Ja/ mpQ+yjFyQ0n5vAzkVTJO8Mdn5amY2toWDuAI2ad7/tdAQWJ97Q73/YhrZqVbC3MDtUGr EtwUKK0wsV0G3GJQpqgVDcDcQachUjirX2SR1BoDYamoJf3sRNQUE3UCDmFA3Hpz1cmd I6dGAWna/fLqbtS3QNNLCpcQDYQvxTGv0wFoFfyp1nwY2dGW2pRfam3NSXtghI7HVgBe 0rLONlzxH45mmvQ+ernDCWmLGuiF4RVmQ3xDDa7iz2/z+vUOh1kHNNS8RNdwj4zirNAh cA+A== X-Gm-Message-State: ALoCoQlJ4gSB9wgVn8iVipW0SkizFOvLGeK/6E3gzTvoy+B1W6UzaDLzIRxFcCA2/j5WWax5IzrR X-Received: by 10.68.219.167 with SMTP id pp7mr10316195pbc.125.1382042368792; Thu, 17 Oct 2013 13:39:28 -0700 (PDT) Received: from [192.168.1.5] (S0106586d8fbc4264.vc.shawcable.net. [96.49.212.157]) by mx.google.com with ESMTPSA id f2sm99746718pbg.44.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Oct 2013 13:39:27 -0700 (PDT) Message-ID: <52604AFD.1090000@elementspace.com> Date: Thu, 17 Oct 2013 13:39:25 -0700 From: Tim Vaillancourt User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Re: Skipping caches on a /select References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Yonik, Does "cache=false" apply to all caches? The docs make it sound like it is for filterCache only, but I could be misunderstanding. When I force a commit and perform a /select a query many times with "cache=false", I notice my query gets cached still, my guess is in the queryResultCache. At first the query takes 500ms+, then all subsequent requests take 0-1ms. I'll confirm this queryResultCache assumption today. Cheers, Tim On 16/10/13 06:33 PM, Yonik Seeley wrote: > On Wed, Oct 16, 2013 at 6:18 PM, Tim Vaillancourt wrote: >> I am debugging some /select queries on my Solr tier and would like to see >> if there is a way to tell Solr to skip the caches on a given /select query >> if it happens to ALREADY be in the cache. Live queries are being inserted >> and read from the caches, but I want my debug queries to bypass the cache >> entirely. >> >> I do know about the "cache=false" param (that causes the results of a >> select to not be INSERTED in to the cache), but what I am looking for >> instead is a way to tell Solr to not read the cache at all, even if there >> actually is a cached result for my query. > Yeah, cache=false for "q" or "fq" should already not use the cache at > all (read or write). > > -Yonik