lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: possible to read index into memory?
Date Thu, 26 Jun 2008 19:47:09 GMT
>From the docs...

RAMDirectory

public *RAMDirectory*(Directory
<file:///C:/lucene-2.1.0/docs/api/org/apache/lucene/store/Directory.html>
dir)
             throws IOException
<http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html>

Creates a new RAMDirectory instance from a different
Directoryimplementation. This can be used to load a disk-based index
into memory.

Seems like exactly what you're asking for...

Best
Erick

On Thu, Jun 26, 2008 at 3:40 PM, Darren Govoni <darren@ontrenet.com> wrote:

> Hi,
>  Is there a lucene index reader that will load a disk-based index into
> memory and perform searches on it from RAM? Sorry if I missed this in
> the docs somewhere.
>
> Darren
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message