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

Emmanuel Bernard emmanuel at hibernate.org
Fri Jul 18 18:18:23 EDT 2008


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.

--
Emmanuel Bernard
http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com 
  | http://twitter.com/emmanuelbernard
Hibernate Search in Action (http://is.gd/Dl1)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20080718/ab21bf4c/attachment.html 


More information about the hibernate-dev mailing list