Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 76946 invoked from network); 4 Feb 2008 19:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 19:53:41 -0000 Received: (qmail 57927 invoked by uid 500); 4 Feb 2008 19:53:32 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 57911 invoked by uid 500); 4 Feb 2008 19:53:32 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 57900 invoked by uid 99); 4 Feb 2008 19:53:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 11:53:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 19:53:04 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id 5686F71C273; Mon, 4 Feb 2008 11:53:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id D89D371C23E for ; Mon, 4 Feb 2008 11:53:10 -0800 (PST) Date: Mon, 4 Feb 2008 11:53:10 -0800 (PST) From: Chris Hostetter To: general@lucene.apache.org Subject: Re: Multiple Indexes - Merge? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : in 75GB) over the web and as my internet connection isn't that good enough, : I am asking you guys, probably more experienced than I am, if there is a way : of, if the index is cut short (my script, if connection fails, will optimize : and close the index, just as if it was done), to start from where it ended. : Another option was to merge several "little" indexes. Well.. the short answer is "yes" you can merge indexes ... the IndexReader.addIndexes method will do this for you. In general though, your problem statement doesn't seem to really relate to Lucene, or require merging of indexes ...if your app encounters a problem unrelated to luncene (ie: a network problem) and closes the index cleanly, then when the problem goes away your app can open an IndexWriter on the index and start right back up where it left off. -Hoss