lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanne Grinovero <>
Subject Re: In memory index (current status in Lucene)
Date Sat, 06 Jul 2013 17:18:52 GMT
There is a decent implementation for a fully in-memory Directory in
the Infinispan project:

This is however not taking advantage of off-heap buffers but storing
the index in the heap itself; the reason being that Infinispan can in
this case deal with index replication over the network.

While I am one of the maintainers of the above code, I would agree on
preferring the MMap implementation over the Infinispan one if you are
interested in a single node only for the sake of simplicity:
Infinispan's implementation is not (yet) significantly faster than
FSDirectory, at least in most of my tests, although it wins by a small
margin in some tests; GC is indeed the bottleneck, but we hope to
improve on that.


On 4 July 2013 22:59, Adrien Grand <> wrote:
> On Tue, Jul 2, 2013 at 10:09 AM, Toke Eskildsen <> wrote:
>> I wonder if Java's ByteBuffer could be used to make a more GC-friendly
>> RAMDirectory?
> For the record, there is an open issue about it:
> --
> Adrien
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message