Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Dev List »

[hibernate-dev] Hibernate Search: ReaderProvider.destroy()

Emmanuel Bernard

2008-07-18

Replies: Find Java Web Hosting

Author LoginPost Reply
Should we need a readerProvider.destroy()?

ReaderProvider typically keep IndexReaders open till they are in use or if the index has been updated. But it has no hook to close the "current" IndexReaders when Hibernate Search goes down.

I imagine the current code can become problematic on some VMs if we do lots of hot redeployments.


_______________________________________________
hibernate-dev mailing list
hibernate-dev@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-dev
©2008 gg3721.com - Jax Systems, LLC, U.S.A.