lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <amo...@infosciences.com>
Subject RE: InderWriter.optimize()
Date Thu, 09 Dec 2004 13:45:53 GMT
Beside merging the segments, optimize also physically deletes all the
deleted documents from the index (When you call delete, lucene only marks
the documents as deleted, they physically deleted when you call optimize).

Aviran
http://www.aviransplace.com

-----Original Message-----
From: Yura Smolsky [mailto:info@altervision.biz] 
Sent: Thursday, December 09, 2004 5:55 AM
To: lucene-user@jakarta.apache.org
Subject: InderWriter.optimize()


Hello, lucene-user.

I used FSDirectory as storage for index. And I have used optimize() method
of IndexWriter to optimize index for faster access.

Now I use DbDirectory (Berkley DB) as storage. Does it make sense to use
optimize method on index stored in this storage?..

What does optimize do actually?

Yura Smolsky




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



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


Mime
View raw message