lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanne Grinovero <sanne.grinov...@gmail.com>
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:
https://github.com/infinispan/infinispan/tree/master/lucene

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.

Sanne


On 4 July 2013 22:59, Adrien Grand <jpountz@gmail.com> wrote:
> On Tue, Jul 2, 2013 at 10:09 AM, Toke Eskildsen <te@statsbiblioteket.dk> 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:
> https://issues.apache.org/jira/browse/LUCENE-2292.
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message