Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 96553 invoked from network); 3 Nov 2009 20:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 20:00:08 -0000 Received: (qmail 39446 invoked by uid 500); 3 Nov 2009 20:00:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 39382 invoked by uid 500); 3 Nov 2009 20:00:05 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 39370 invoked by uid 99); 3 Nov 2009 20:00:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 20:00:04 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.211.183] (HELO mail-yw0-f183.google.com) (209.85.211.183) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 20:00:01 +0000 Received: by ywh13 with SMTP id 13so6765523ywh.29 for ; Tue, 03 Nov 2009 11:59:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.115.8 with SMTP id n8mr989273ybc.64.1257278380133; Tue, 03 Nov 2009 11:59:40 -0800 (PST) In-Reply-To: <26161322.post@talk.nabble.com> References: <26161322.post@talk.nabble.com> Date: Tue, 3 Nov 2009 14:59:40 -0500 Message-ID: <9ac0c6aa0911031159u432165f5tb4a46bcf959671ee@mail.gmail.com> Subject: Re: merging Parallel indexes (can indexWriter.addIndexesNoOptimize be used?) From: Michael McCandless To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable addIndexesNoOptimize is only for shards. But this [pending patch/contribution] is similar what you're seeking, I thi= nk: https://issues.apache.org/jira/browse/LUCENE-1879 It does not actually merge the indexes, but rather keeps 2 parallel indexes in sync so you can use ParallelReader to search them coherently. Mike On Tue, Nov 3, 2009 at 1:46 PM, Britske wrote: > > Given two parallel indexes which contain the same products but different > fields, one with slowly changing fields and one with fields which are > updated regularly: > > Is it possible to periodically merge these to form a single index? =A0(th= ereby > representing a frozen snapshot in time) > > For example: Can indexWriter.addIndexesNoOptimize handle this, or was it > (only) designed for merging shards? > If not, is there another option (3rd party or not) to use, or would I hav= e > to resort to low-level hacking? > > Thanks, > Geert-Jan > -- > View this message in context: http://old.nabble.com/merging-Parallel-inde= xes-%28can-indexWriter.addIndexesNoOptimize-be-used-%29-tp26161322p26161322= .html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org