On 11/29/06, Eric Brown <[EMAIL PROTECTED]> wrote:
> IndexModifier currently has very low performance with mixed adds
> and deletes.
> You can keep the same one over the lifetime of the app though.
Assuming I call flush() after every operation (they won't be that
frequent), if I don't call close() when my application shuts down,
will I run into locking issues when I restart my application?
IndexWriter has a finalizer, bug finalizers aren't guaranteed to be run AFAIK.
There is a JVM shutdown hook you could use to clean up though.
You could also use native locks (in the current lucene devel version).
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]