Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 74388 invoked from network); 12 Jan 2004 17:12:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Jan 2004 17:12:18 -0000 Received: (qmail 61907 invoked by uid 500); 12 Jan 2004 17:12:07 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 61771 invoked by uid 500); 12 Jan 2004 17:12:06 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 61420 invoked from network); 12 Jan 2004 17:12:04 -0000 Received: from unknown (HELO sccrmhc13.comcast.net) (204.127.202.64) by daedalus.apache.org with SMTP; 12 Jan 2004 17:12:04 -0000 Received: from apache.org (c-24-5-145-151.client.comcast.net[24.5.145.151]) by comcast.net (sccrmhc13) with SMTP id <2004011217120601600nkve6e>; Mon, 12 Jan 2004 17:12:06 +0000 Message-ID: <4002D555.8030702@apache.org> Date: Mon, 12 Jan 2004 09:11:49 -0800 From: Doug Cutting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Developers List Subject: Re: Lucene's delete feature References: <4002821D.10803@imente.com> In-Reply-To: <4002821D.10803@imente.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Albert Vila Puig wrote: > For example, my idea is at the end of each day, delete the first > day from the index, and add the today's documents to it. That should work fine. Newly added documents always have numbers greater than all documents in the index. As deleted documents are reclaimed document numbers shift downwards, but documents added earlier always retain smaller numbers than those added later. Doug --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org