RE: in memory lucene

2019-02-27 Thread Uwe Schindler
Hi, In Lucene 7.7 you can use ByteBuffersDirectory, the default constructor behaves like RAMDirectory (allocates on heap), but has much better concurrency and garbage collection behaviour (no millions of byte[8192] instances holding the data) http://lucene.apache.org/core/7_7_0/core/org/apache/

in memory lucene

2019-02-27 Thread Jonathan Willis
Hi, i'm looking into using Lucene 7.7.0 and noticed that the RAMDirectory has been deprecated because of inefficient synchronization issues and that we are encouraged to use MMapDirectory instead. I was hoping to use an in memory only directory and was wondering if that would be possible without RA