JTRES 2016 First Call For Papers

2016-02-09 Thread ma...@dtu.dk
== CALL FOR PAPERS The 14th Workshop on Java Technologies for Real-Time and Embedded Systems JTRES 2016 Part of the

Re: Is there a way to share IndexReader data sensibly across independent callers?

2016-02-09 Thread Trejkaz
On Wed, Feb 10, 2016 at 3:17 AM, Michael McCandless wrote: > Why do you need to close the Directory? It should be light weight. > But if you really do need it, can't you subclass ReaderManager and > override afterClose to close the directory? I guess that's the next thing I'll try out. I am alre

Re: Is there a way to share IndexReader data sensibly across independent callers?

2016-02-09 Thread Michael McCandless
Why do you need to close the Directory? It should be light weight. But if you really do need it, can't you subclass ReaderManager and override afterClose to close the directory? So you essentially need to "lazy close" your ReaderManager, when there are no searches currently needing it? Why not h

Generate Lucene segments_N file

2016-02-09 Thread khanh-lam . mai
Hello, First, I don't know if it's the right mailing list to ask for your help, if no please accept my apologies for the inconvenience. While moving Lucene (5.3) index files from a server to an other, I forgot to move the segments_N file (because I use the pattern *.*) Unfortunately I've erase

Re: Is there a way to share IndexReader data sensibly across independent callers?

2016-02-09 Thread Trejkaz
On Tue, Feb 9, 2016 at 7:59 PM, Michael McCandless wrote: > Can't you just call ReaderManager.close? > > All in-flight operations with that RM will keep working, and the > underlying reader will only finally close once they have all finished. I guess that has the caveat that it would be possible

Re: Is there a way to share IndexReader data sensibly across independent callers?

2016-02-09 Thread Michael McCandless
Can't you just call ReaderManager.close? All in-flight operations with that RM will keep working, and the underlying reader will only finally close once they have all finished. Mike McCandless http://blog.mikemccandless.com On Tue, Feb 9, 2016 at 12:12 AM, Trejkaz wrote: > On Tue, Feb 9, 2016