KinoSearch::Store::RAMFolderKinoSearch::Store::RAMFolder provides in-memory folder. | |
Download |
KinoSearch::Store::RAMFolder Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Marvin Humphrey
- Publisher web site:
- http://search.cpan.org/~creamyg/KinoSearch-0.162/lib/KinoSearch/Search/SearchServer.pm
KinoSearch::Store::RAMFolder Tags
KinoSearch::Store::RAMFolder Description
KinoSearch::Store::RAMFolder provides in-memory folder. KinoSearch::Store::RAMFolder provides in-memory folder.SYNOPSIS my $folder = KinoSearch::Store::RAMFolder->new; # or sometimes... my $folder = KinoSearch::Store::RAMFolder->new( path => '/path/to/folder', );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.METHODSnew my $folder = KinoSearch::Store::RAMFolder->new( path => '/path/to/folder', # optional );Constructor. Takes one optional parameter, path. If path is supplied, KinoSearch will try to read an FSFolder at that location into memory; otherwise the Folder starts out empty. Requirements: · Perl
KinoSearch::Store::RAMFolder Related Software