Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 2729 invoked from network); 5 Apr 2006 20:18:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 20:18:07 -0000 Received: (qmail 59623 invoked by uid 500); 5 Apr 2006 20:18:02 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 59593 invoked by uid 500); 5 Apr 2006 20:18:02 -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 59582 invoked by uid 99); 5 Apr 2006 20:18:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 13:18:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of yseeley@gmail.com designates 64.233.162.197 as permitted sender) Received: from [64.233.162.197] (HELO zproxy.gmail.com) (64.233.162.197) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 13:18:01 -0700 Received: by zproxy.gmail.com with SMTP id 16so722307nzp for ; Wed, 05 Apr 2006 13:17:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o5ARIAyQZG/dNc296eNnjCabPnjfkXF6nGoZG7KcC4tpkxRvzfpPRfgmaFb/FHs4081YpmUEz27LXE60vlH9pPYXR9nJGuo16SMLeC5pzNbWdleEtRu5pfocAZLRUNEbEzEUPXw7TkKIaJL8ttgvLhywzADplf+eYZNFs5hGMKc= Received: by 10.35.103.12 with SMTP id f12mr23202pym; Wed, 05 Apr 2006 13:17:40 -0700 (PDT) Received: by 10.35.107.3 with HTTP; Wed, 5 Apr 2006 13:17:35 -0700 (PDT) Message-ID: Date: Wed, 5 Apr 2006 16:17:35 -0400 From: "Yonik Seeley" To: java-user@lucene.apache.org Subject: Re: Lucene Document order not being maintained? In-Reply-To: <443423DB.3040008@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4433E119.4080101@gmail.com> <443423DB.3040008@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 4/5/06, Dan Armbrust wrote: > I'll continue to try to generate a test case that gets the docs out of > order... but if someone in the know could answer authoritatively whether I browsed the code for IndexWriter.addIndexes(Dir[]), and it looks like it should preserve order. The directories are added in order, and the segments for each directory are added in order. The merging code is shared, so that shouldn't do anything different than normal segment merges. -Yonik http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org