lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <>
Subject Re: Read index into RAM?
Date Fri, 27 Jun 2008 18:34:23 GMT
Hi Darren,
Assuming that you use a *nix/*nux machine, the best way to work that out
would be to have your index moved to a tmpfs. Steps to have that done :
1. Mount a tmpfs  (It uses RAM by default)
2. Copy your index to your new mount point
3. Open your index readers pointing to the new directory location (on tmpfs)

This does the job pretty neat.

Anshum Gupta
Naukri Labs

On Fri, Jun 27, 2008 at 11:22 PM, Darren Govoni <> 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:
> For additional commands, e-mail:

The facts expressed here belong to everybody, the opinions to me.
The distinction is yours to draw............

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