lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Ask for a better solution for the case
Date Fri, 28 Apr 2006 19:11:03 GMT
hu andy wrote:
> Hi, I hava an application that need mark the retrieved documents  which have
> been read. So the next time I needn't read the marked documents again.

You could mark the documents as deleted, then later clear deletions.  So 
long as you don't close the IndexReader, the deletions will never be 
flushed to disk.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message