Hi!
On Fri, Feb 01, 2008 at 08:49:22PM +0100, Paul Lynch
wrote:> Is there a way to tell Ferret (or AAF) to read an entire index into
> memory, for faster searching? I have small index (3-4 MB) that could be
> kept in memory. Or does Ferret do that automatically?
Ferret has an implementation if the Directory interface [1] for in-memory
storage, however you won''t gain much speed (if any) by using it, since
most operating systems will keep the index in file system buffers anyway
once it has been used the first time.
[1] http://ferret.davebalmain.com/api/classes/Ferret/Store/RAMDirectory.html
Cheers,
Jens
--
Jens Kr?mer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/ - The new free film database