Re: Best practise closing Lucene index

2012-07-03 Thread Jochen Hebbrecht
Thanks. We are currently more thinking of a statefull EJB. We are thinking to use the @Remove annotation ... 2012/7/2 Torsten Krah > I you really want a per session based reader, use a > > > http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html > > and create the objec

Re: Best practise closing Lucene index

2012-07-02 Thread Torsten Krah
I you really want a per session based reader, use a http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html and create the object there in sessionCreated and destroy the Reader in sessionDestroyed. You seam component can get the create objected under a well known name you'