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 4E3761110B for ; Fri, 5 Sep 2014 14:13:00 +0000 (UTC) Received: (qmail 81833 invoked by uid 500); 5 Sep 2014 14:12:49 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 81758 invoked by uid 500); 5 Sep 2014 14:12:49 -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 81745 invoked by uid 99); 5 Sep 2014 14:12:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 14:12:49 +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 arafalov@gmail.com designates 209.85.192.177 as permitted sender) Received: from [209.85.192.177] (HELO mail-pd0-f177.google.com) (209.85.192.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 14:12:45 +0000 Received: by mail-pd0-f177.google.com with SMTP id r10so15737389pdi.8 for ; Fri, 05 Sep 2014 07:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Chol9STev2bXqEt31OvMGRDn0cJ7tqC2GN2pNb/IhcQ=; b=eCLYq7wFqoQYSvocRevanqZaOYqumInjZJeUsyNNzV3Yn92dGv33+5NxpQs3i9LVI0 53mSkduC/6iw3M9nthLYJgjIMgkLr5UX4kCWB63jq8lsX4vjanabWFvX0Ee/bg3M7qg6 2C7iIoLvymHiY2lMQkA+n38G9yEVPn2uwbTC/4/1uzZU+gVmlTKnfOWNjZZItUiJkLBF l/OHe1dkwFkaohBfhWsuWAt6YQ5r4RSRQq4egRvz31vXci8eKk60tDiDgirDn8e5kbOJ H6Bvh21Rq1S4T/9g8tvmghtPvxEDB0PINNp4Thfu8AjUSRt4eDDGh5+vKugDIWxzLyoN 7urA== X-Received: by 10.66.237.206 with SMTP id ve14mr20525015pac.40.1409926343757; Fri, 05 Sep 2014 07:12:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.86.38 with HTTP; Fri, 5 Sep 2014 07:11:43 -0700 (PDT) In-Reply-To: References: <27589A9FF2E7CC42B56140FD01CEC3A2EF794F5F@clrc-nt-mbx01p.corp.org.local> From: Alexandre Rafalovitch Date: Fri, 5 Sep 2014 10:11:43 -0400 Message-ID: Subject: Re: Solr add document over 20 times slower after upgrade from 4.0 to 4.9 To: solr-user Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Sep 5, 2014 at 9:55 AM, Mikhail Khludnev wrote: >> Why do one big commit? You could do hard commits along the way but keep >> searcher open and not see the changes until the end. >> > > Alexandre, > I don't think it's can happen in solr-user list, next search pickups the > new searcher. Why not? Isn't that what the Solr example configuration doing at: https://github.com/apache/lucene-solr/blob/lucene_solr_4_10_0/solr/example/solr/collection1/conf/solrconfig.xml#L386 ? Hard commit does not reopen the searcher. The soft commit does (further down), but that can be disabled to get the effect I am proposing. What am I missing? Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853