[ 
https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840373#action_12840373
 ] 

Uwe Schindler commented on LUCENE-2292:
---------------------------------------

Hi,
looks interesting as a replacement for RAMDirectory.

Your patch uses a "sun." internal package. If you want to do something similar 
to MMapDirectory to release the buffer without waiting for GC, do it in the 
same way using reflection like in MMapDirectory.

> ByteBuffer Directory - allowing to store the index outside the heap
> -------------------------------------------------------------------
>
>                 Key: LUCENE-2292
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2292
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Store
>            Reporter: Shay Banon
>         Attachments: LUCENE-2292.patch
>
>
> A byte buffer based directory with the benefit of being able to create direct 
> byte buffer thus storing the index outside the JVM heap.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to