Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB3F09D3A for ; Sun, 19 Feb 2012 15:08:58 +0000 (UTC) Received: (qmail 35234 invoked by uid 500); 19 Feb 2012 15:08:57 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 35181 invoked by uid 500); 19 Feb 2012 15:08:57 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 35171 invoked by uid 99); 19 Feb 2012 15:08:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2012 15:08:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2012 15:08:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2CE231C0B6B for ; Sun, 19 Feb 2012 15:08:34 +0000 (UTC) Date: Sun, 19 Feb 2012 15:08:34 +0000 (UTC) From: "Uwe Schindler (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1449054038.402.1329664114185.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <736494664.362.1329662194303.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3142) remove O(n^2) slow slow indexing defaults in DataImportHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211380#comment-13211380 ] Uwe Schindler commented on SOLR-3142: ------------------------------------- +1, are there any config files/parsing to edit? I somwhere have in my mind, that in DIH config there are also settings regading optimize? > remove O(n^2) slow slow indexing defaults in DataImportHandler > -------------------------------------------------------------- > > Key: SOLR-3142 > URL: https://issues.apache.org/jira/browse/SOLR-3142 > Project: Solr > Issue Type: Bug > Reporter: Robert Muir > Assignee: Robert Muir > Fix For: 3.6, 4.0 > > Attachments: SOLR-3142.patch > > > By default, dataimporthandler optimizes the entire index when it commits. > This is bad for performance, because it means by default its doing a very > heavy index-wide operation even for an incremental update... essentially > O(n^2) indexing. > All that is needed is to set optimize=false by default. If someone wants > to optimize, they can either set optimize=true or explicitly optimize themselves. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org