You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by eks dev <ek...@yahoo.co.uk> on 2008/08/15 15:13:49 UTC

RAMDisk.reload(FSDirectory)

short one, maybe stupid question:
 
use case, 
- you load your index from Disk into RAMDisk 
- Use it in read only mode (no modifications on RAMDisk index)
- Update on disk index from another, external process 
- reload only changes into RAM instead of reloading complete index

is there any way to do this?

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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


Re: RAMDisk.reload(FSDirectory)

Posted by Michael McCandless <lu...@mikemccandless.com>.
Since Lucene is write-once, this should be fairly simple to do.  You  
just list the files, remove any that are now gone, copy over any new  
files?

Mike

eks dev wrote:

> short one, maybe stupid question:
>
> use case,
> - you load your index from Disk into RAMDisk
> - Use it in read only mode (no modifications on RAMDisk index)
> - Update on disk index from another, external process
> - reload only changes into RAM instead of reloading complete index
>
> is there any way to do this?
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


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