29 Jun 2009 22:37:41 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (27 / 1 / 6)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (609.56KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
- LICENSE, DISCLAIMER, BUGS, etc.
KinoSearch::Store::RAMFolder - In-memory Folder implementation.
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.
my $folder = KinoSearch::Store::RAMFolder->new( path => '/path/to/folder', # optional );
path - If supplied, attempt to read an FSFolder at that location into memory; otherwise the Folder starts out empty.
Copyright 2005-2009 Marvin Humphrey
See KinoSearch version 0.30.