Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 17629 invoked from network); 16 Jun 2007 01:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 01:10:37 -0000 Received: (qmail 21246 invoked by uid 500); 16 Jun 2007 01:10:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 21214 invoked by uid 500); 16 Jun 2007 01:10:33 -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 21203 invoked by uid 99); 16 Jun 2007 01:10:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 18:10:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [169.229.70.150] (HELO rescomp.berkeley.edu) (169.229.70.150) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 18:10:29 -0700 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id 5B7685B772; Fri, 15 Jun 2007 18:10:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by rescomp.berkeley.edu (Postfix) with ESMTP id 412F17F403 for ; Fri, 15 Jun 2007 18:10:08 -0700 (PDT) Date: Fri, 15 Jun 2007 18:10:08 -0700 (PDT) From: Chris Hostetter To: java-user@lucene.apache.org Subject: Re: How to Use ParallelReader 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 : My question is: If I just want to update the small fields in one index : and do not want to update the large fields in another index, how can I : make sure these two indexes are synchronized and have the same document : number? the short answer: build them in the same order, use the exact same IndexWriter settings, and optimize both indexes. you can rebuild either of them again and again and again if you want -- as long as you keep doing it in the same order. ParallelReader is a pretty special caes class that not a lot of people seem to use (or if they are they don't talk about it much) but there has been a few discussions about it in the past .. i would suggest searching the mail archives and pay special attention to anything by Chuck Williams ... he's pretty much the foremost authority on ParallelReader. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org