NAME
KinoSearch::Store::RAMFolder - In-memory Folder.
SYNOPSIS
my $folder = KinoSearch::Store::RAMFolder->new(
path => '/path/to/folder',
);
# or...
my $folder = KinoSearch::Store::RAMFolder->new;
DESCRIPTION
RAMFolder is an entirely in-memory implementation of KinoSearch::Store::Folder. It serves two main purposes.
First, it's possible to load an existing FSFolder into memory, which can improve search-speed -- if you have that kind of RAM to spare. Needless to say, any FSFolder you try to load this way should be appropriately modest in size.
Second, RAMFolder is handy for testing and development.
CONSTRUCTOR
new
Create a RAMFolder object. new
takes one optional parameter, path
. If path
is supplied, KinoSearch will try to read an FSFolder at that location into memory.
COPYRIGHT
Copyright 2005-2007 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.07.