lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan OConnor <docon...@acquiremedia.com>
Subject Re: How about lucene's delete performance ?
Date Wed, 13 Oct 2010 14:53:31 GMT
Jeff,
I would suggest not deleting documents off the back of the index unless you can optimize your
index regularly. (Depending on your volume, this could be every day or once a week)

I would suggest having two indexes, one that is "this" week and one that is "last" week and
a multi-index searcher that is aware of the date. When you get to the end of "this" week,
you would delete "last" week's index and create a new "next" week index. 

Regards
Dan


----- Original Message -----
From: Jeff Zhang <zjffdu@gmail.com>
To: java-user@lucene.apache.org <java-user@lucene.apache.org>
Sent: Wed Oct 13 09:37:31 2010
Subject: How about lucene's delete performance ?

Hi all,

I only want to index the latest one week's data, the previous data can
be deleted. So I'd like to know about lucene's delete performance and
whether it will has impact on the search performance when I do lots of
delete operation in the meantime.  Thanks

-- 
Best Regards

Jeff Zhang

---------------------------------------------------------------------
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