Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 47207 invoked from network); 3 Jul 2009 22:50:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jul 2009 22:50:18 -0000 Received: (qmail 97748 invoked by uid 500); 3 Jul 2009 22:50:26 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 97673 invoked by uid 500); 3 Jul 2009 22:50:26 -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 97639 invoked by uid 99); 3 Jul 2009 22:50:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 22:50:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john.wang@gmail.com designates 209.85.210.182 as permitted sender) Received: from [209.85.210.182] (HELO mail-yx0-f182.google.com) (209.85.210.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 22:50:16 +0000 Received: by yxe12 with SMTP id 12so4234237yxe.29 for ; Fri, 03 Jul 2009 15:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cCG87baEUMt0DH0shKdmWU8AfbfT+OnsUgfHm4T04V4=; b=aS1X9p/1NgW6StrRg+JPqHpj9SSQDq85ZQEEtUajrZyhI0ZjwZXC/tB/EMFaIyh1IQ szcAvpL+agI/4c2/hNMFzI4BpMCjPOOoeb4WuQDnvQ0re0HfTTASOToD9cCdEndGln4Z EjYhP+aA28W93PINcOyQOGkNa62cXjJI8NoqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=x+LAzCSL+LQQUj3QNx2Y36SmVUOjW/pUAzMDnzty1qsDm6GgDzsMAmDEN18T4UuU0S eKECWPsHBCtMIyu9xEY0+i5uMM7Zlv4igpzVa8di9bNRzi3MVQ2TBQuq5fbt2GusOee/ jMY+Fw/szPWgbDRShf1yLaCEq+9uhKnPK8C64= MIME-Version: 1.0 Received: by 10.100.215.12 with SMTP id n12mr2986063ang.154.1246661395920; Fri, 03 Jul 2009 15:49:55 -0700 (PDT) Date: Fri, 3 Jul 2009 15:49:55 -0700 Message-ID: <8837fb770907031549w1fa218bdgdef617cd66dbd358@mail.gmail.com> Subject: addIndexesNoOptimize From: John Wang To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001636988b5ca8b99d046dd4f93a X-Virus-Checked: Checked by ClamAV on apache.org --001636988b5ca8b99d046dd4f93a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi guys: Running into a question with IndexWriter.addIndexesNoOptimize: I am trying to expand a smaller index by replicating it into a larger index. So I am adding the same directory N times. I get an exception because noDupDirs(dirs) fails. For this call, is this check neccessary? I temporarily commented it and the resulting index seems to fine. Thanks -John --001636988b5ca8b99d046dd4f93a--