Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 84696 invoked from network); 21 Dec 2004 18:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Dec 2004 18:33:28 -0000 Received: (qmail 31016 invoked by uid 500); 21 Dec 2004 18:33:11 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 30987 invoked by uid 500); 21 Dec 2004 18:33:11 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 30968 invoked by uid 99); 21 Dec 2004 18:33:11 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jak-lucene-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 10:33:08 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Cgooj-0004qa-00 for ; Tue, 21 Dec 2004 19:33:05 +0100 Received: from dhcp-171-71-47-198.cisco.com ([171.71.47.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2004 19:33:05 +0100 Received: from aurora00 by dhcp-171-71-47-198.cisco.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2004 19:33:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: lucene-user@jakarta.apache.org From: aurora Subject: how often to optimize? Date: Tue, 21 Dec 2004 10:32:58 -0800 Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dhcp-171-71-47-198.cisco.com User-Agent: Opera M2/7.54 (Win32, build 3869) Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Right now I am incrementally adding about 100 documents to the index a d= ay = and then optimize after that. I find that optimize essentially rebuildin= g = the entire index into a single file. So the size of disk write is = proportion to the total index size, not to the size of documents = incrementally added. So my question is would it be an overkill to optimize everyday? Is there= = any guideline on how often to optimize? Every 1000 documents or more? = Every week? Is there any concern if there are a lot of documents added = without optimizing? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org