Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 33312 invoked from network); 8 Aug 2007 18:17:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 18:17:08 -0000 Received: (qmail 889 invoked by uid 500); 8 Aug 2007 18:17:04 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 846 invoked by uid 500); 8 Aug 2007 18:17:04 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 835 invoked by uid 99); 8 Aug 2007 18:17:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 11:17:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yseeley@gmail.com designates 64.233.162.231 as permitted sender) Received: from [64.233.162.231] (HELO nz-out-0506.google.com) (64.233.162.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 18:17:00 +0000 Received: by nz-out-0506.google.com with SMTP id i28so99352nzi for ; Wed, 08 Aug 2007 11:16:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=lhvaY0r4OflrmdKhYKkWoK7S6Azi3fxENLNAnhJmKT5sDH0B6Oi00ABpRVfR4Bm9wgKxbc/9f6w1gWKWIGafaiEnQFibMCHv7RC8mNyXnrLhcCe2CDLVsSqqg7zJ0545gRDz2l5d4ZjWceuwB5NLkm8nIf1OGnrOJPGPKwZs4do= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=JARt6LUkEdzkVJqPsXtsSU3jsYRXdmOyjmsuulBzZCTc7oOn4k7gXSltTD0ssewdIV+xFg5eiJFF9FOe/N7PpullSeMcZC1HIoZ9Z/fnM1uXKyPAJk6i/L0YjEB1k/P/jyhMS7MJ5wcNbvWwVF3whXgHI7b6v0l0MqrIESLBM18= Received: by 10.143.158.16 with SMTP id k16mr418243wfo.1186596999154; Wed, 08 Aug 2007 11:16:39 -0700 (PDT) Received: by 10.143.167.8 with HTTP; Wed, 8 Aug 2007 11:16:39 -0700 (PDT) Message-ID: Date: Wed, 8 Aug 2007 14:16:39 -0400 From: "Yonik Seeley" Sender: yseeley@gmail.com To: java-dev@lucene.apache.org Subject: Re: Deprecating IndexModifier In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31A6E87C-E420-4536-ABB4-9F455956B613@apache.org> X-Google-Sender-Auth: 6c6719b2bb899494 X-Virus-Checked: Checked by ClamAV on apache.org On 8/8/07, Ning Li wrote: > On 8/8/07, Yonik Seeley wrote: > > To make delete by docid useful, one needs a way to *get* those docids. > > A callback after flush that provided acurrent list of readers for the > > segments would serve. > > Interesting. That makes sense. > > > I think IndexWriter.deleteDocument(int doc) is something that wouldn't > > be used by expert users, and would be accidentally used by novices. > > But you still think it's worth to be included in IndexWriter, right? I'm not sure... (unless I'm missing some obvious use-cases). If one could get a list of IndexReaders, one could directly use those for deletions, right? -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org