I think this would be useful enough to make it available in
RAMDirectory or Directory? Quite a few users seem to load the entire
index into a RAMDirectory.
We already have static Directory.copy method, which is very similar.
Mike
eks dev wrote:
Hi Mike, that was clear from the beginning, I have asked u bit clumsy.
What I really wanted to ask, given it is not already possible: does
this make sense to provide it as a patch. It sound to me rather
"narrow" to be useful for wider community, but on the other side
having efficient way to re-sync (unidirectional) RAMDirectory with
FSDirectory sounds like a nice feature.
we will eventually do it, so if anyone has an interest just shout
----- Original Message ----
From: Michael McCandless <[EMAIL PROTECTED]>
To: java-dev@lucene.apache.org
Sent: Tuesday, 19 August, 2008 6:26:50 PM
Subject: Re: RAMDisk.reload(FSDirectory)
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Send instant messages to your online friends http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]