lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Lucene's delete feature
Date Mon, 12 Jan 2004 17:11:49 GMT
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


Mime
View raw message