I posted this reply to this question last time you posted it....
>From the docs...
RAMDirectory
public *RAMDirectory*(Directory 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 Fri, Jun 27, 2008 at 1:52 PM, Darren Govoni <[EMAIL PROTECTED]> wrote:
> Hi,
> Is it possible to read a disk-based index into RAM (entirely) and
> have all searches operate on it there? I saw some RAMDirectory examples,
> but it didn't look like it will transfer a disk index into RAM.
>
> thanks
> D
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>