Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 71724 invoked from network); 11 Nov 2003 18:02:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Nov 2003 18:02:04 -0000 Received: (qmail 42392 invoked by uid 500); 11 Nov 2003 18:01:54 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 41980 invoked by uid 500); 11 Nov 2003 18:01:51 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 41966 invoked from network); 11 Nov 2003 18:01:51 -0000 Received: from unknown (HELO mail.disney.com) (204.128.192.15) by daedalus.apache.org with SMTP; 11 Nov 2003 18:01:51 -0000 Received: from Hermes10.corp.disney.com (hermes10.corp.disney.com [153.7.110.102]) by mail.disney.com (Switch-3.1.3/Switch-3.1.0) with ESMTP id hABHsA1S019822 for ; Tue, 11 Nov 2003 10:00:32 -0800 (PST) Received: from sm-cala-xc04.swna.wdpr.disney.com (sm-cala-xc04.swna.wdpr.disney.com [153.7.195.34]) by hermes.corp.disney.com with ESMTP; Tue, 11 Nov 2003 10:02:12 -0800 Received: from sm-cala-xm11.swna.wdpr.disney.com ([153.7.195.53]) by sm-cala-xc04.swna.wdpr.disney.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 11 Nov 2003 10:01:53 -0800 x-mimeole: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Reopen IndexWriter after delete? Date: Tue, 11 Nov 2003 10:01:53 -0800 Message-Id: <496A2C679221504D8B8AE4B10267E87602E0A016@gb-sm-cala-xm11.corp.disney.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Reopen IndexWriter after delete? Thread-Index: AcOj0X3bI3ejyQkBQrWHvDle5IV+egEqYz2A From: "Wilton, Reece" To: "Lucene Users List" X-OriginalArrivalTime: 11 Nov 2003 18:01:54.0121 (UTC) FILETIME=[E3B58B90:01C3A87D] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, A couple questions... 1). If I delete a term using an IndexReader, can I use an existing IndexWriter to write to the index? Or do I need to close and reopen the IndexWriter? 2). Is it safe to call IndexReader.delete(term) while an IndexWriter is writing? Or should I be synchronizing these two tasks so only one occurs at a time? Any help is appreciated! -Reece --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org