Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 87454 invoked from network); 8 Aug 2007 20:25:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 20:25:40 -0000 Received: (qmail 82785 invoked by uid 500); 8 Aug 2007 20:25:33 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 82737 invoked by uid 500); 8 Aug 2007 20:25:33 -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 82722 invoked by uid 99); 8 Aug 2007 20:25:33 -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 13:25:32 -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 ning.li.li@gmail.com designates 209.85.198.185 as permitted sender) Received: from [209.85.198.185] (HELO rv-out-0910.google.com) (209.85.198.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 20:25:28 +0000 Received: by rv-out-0910.google.com with SMTP id k20so180681rvb for ; Wed, 08 Aug 2007 13:25:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h0X5T3sabYpOg/vcR77LsF+KJpCKr3DMLfvedKXQlVSt3E4CWRwvlrA+5qKUEra43y1ShzY5Y00AiXBi7tNmKA8/3psNESq+luK7itdRXaLuAvMqNQZyxHdUg1d7oc5/6fQhz4WzwoeMthzgDLHcr74bLTei+FYD5sm0MbeA49s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IxAGuYpm7lrbXR+ByFPSEh+n8dN3XZFXlM8loEIH1QflmoXZmrzlpTXwhVBrxl9oPWAef06qO5m/vha3Bpu5aw4fFg49Uh9MXxnYN4H+Zsuos34VT0FyMLUi6yg+ZeqD+IYCbCP7EfVNgxrgpIYmBrh7nxQU+tpodbEeQNUPncc= Received: by 10.115.23.12 with SMTP id a12mr556999waj.1186604705128; Wed, 08 Aug 2007 13:25:05 -0700 (PDT) Received: by 10.114.124.19 with HTTP; Wed, 8 Aug 2007 13:25:05 -0700 (PDT) Message-ID: Date: Wed, 8 Aug 2007 16:25:05 -0400 From: "Ning Li" 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-Virus-Checked: Checked by ClamAV on apache.org On 8/8/07, Yonik Seeley wrote: > Let's take a simple case of deleting documents in a range, like > date:[2006 TO 2008] > One would currently need to close the writer and open a new reader to > ensure that they can "see" all the documents. Then execute a > RangeQuery, collect the ids, and do deletes. This reminds me: It'd be nice if we could support delete-by-query someday. :) I was thinking people use deleteDocument(int docid) when they are sure the docid hasn't changed since obtained. That's why I considered it an expert method... --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org