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 330CA10141 for ; Tue, 8 Oct 2013 22:23:32 +0000 (UTC) Received: (qmail 37730 invoked by uid 500); 8 Oct 2013 22:23:28 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 37677 invoked by uid 500); 8 Oct 2013 22:23:28 -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 37669 invoked by uid 99); 8 Oct 2013 22:23:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Oct 2013 22:23:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tim@elementspace.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-la0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Oct 2013 22:23:21 +0000 Received: by mail-la0-f54.google.com with SMTP id ea20so7417412lab.41 for ; Tue, 08 Oct 2013 15:23:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=6YW8Mnr3RX9J2YjpYliAL9l1hKyaCYAsQVf9obF7UiQ=; b=M+kpevvqM3LfhUYKB3TUOiOITkRdruIYUnb4n4u+qmyn7J2PXlLZhCuMDXg5xJKVTc xsiNuo9xBh/ZNaOciYmvyDn630r4D/mfWsQmsVD7wUwtebVHp0lqari8vY+5zVTPhiW9 KwaK1IxQu89KTeW6LebNSOu0iLTFD2JSc6mi0A8gV9toxaOF09OTnTxIEQSlYlCgYPyS Hpl3gEu6EkTe0cXkS6Lw7MRGg/RaRgaRBn6boOcn08uviDBnMwNUF5T4NY846Ck1JLlu CAGUFxl3PNzPhH69VxtX7gtYfATge4+7H/NxPR4OT3FrsxVCNFJR1SW3wHLfqtdFURS4 zfnA== X-Gm-Message-State: ALoCoQlBQPndW9vSjE+xhUqmgKUuS6SdjKaZ0XWKJEm6JA3CvAoewXc6mPtRuP5meVqDplVrYQI5 MIME-Version: 1.0 X-Received: by 10.152.36.98 with SMTP id p2mr3295356laj.14.1381270981349; Tue, 08 Oct 2013 15:23:01 -0700 (PDT) Received: by 10.112.136.97 with HTTP; Tue, 8 Oct 2013 15:23:01 -0700 (PDT) X-Originating-IP: [159.153.138.99] In-Reply-To: References: <524ADE21.2090809@elyograg.org> <524BBE18.10102@intix.eu> Date: Tue, 8 Oct 2013 15:23:01 -0700 Message-ID: Subject: Re: {soft}Commit and cache flusing From: Tim Vaillancourt To: "solr-user@lucene.apache.org" Content-Type: multipart/alternative; boundary=089e0158b5e82ea04004e84236f7 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158b5e82ea04004e84236f7 Content-Type: text/plain; charset=ISO-8859-1 I have a genuine question with substance here. If anything this nonconstructive, rude response was "to get noticed". Thanks for contributing to the discussion. Tim On 8 October 2013 05:31, Dmitry Kan wrote: > Tim, > I suggest you open a new thread and not reply to this one to get noticed. > Dmitry > > > On Mon, Oct 7, 2013 at 9:44 PM, Tim Vaillancourt >wrote: > > > Is there a way to make autoCommit only commit if there are pending > changes, > > ie: if there are 0 adds pending commit, don't autoCommit (open-a-searcher > > and wipe the caches)? > > > > Cheers, > > > > Tim > > > > > > On 2 October 2013 00:52, Dmitry Kan wrote: > > > > > right. We've got the autoHard commit configured only atm. The > > soft-commits > > > are controlled on the client. It was just easier to implement the first > > > version of our internal commit policy that will commit to all solr > > > instances at once. This is where we have noticed the reported behavior. > > > > > > > > > On Wed, Oct 2, 2013 at 9:32 AM, Bram Van Dam > > wrote: > > > > > > > if there are no modifications to an index and a softCommit or > > hardCommit > > > >>>> issued, then solr flushes the cache. > > > >>>> > > > >>> > > > > Indeed. The easiest way to work around this is by disabling auto > > commits > > > > and only commit when you have to. > > > > > > > > > > --089e0158b5e82ea04004e84236f7--