28 Oct 2010 05:26:42 UTC
- Distribution: KinoSearch1
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (4)
- Testers (1461 / 295 / 5)
- KwaliteeBus factor: 0
- 85.04% Coverage
- License: perl_5
- Activity24 month
- Download (271.55KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
KinoSearch1::Store::RAMInvIndex - in-memory InvIndex
my $invindex = KinoSearch1::Store::RAMInvIndex->new( path => '/path/to/invindex', ); # or... my $invindex = KinoSearch1::Store::RAMInvIndex->new;
RAMInvIndex is an entirely in-memory implementation of KinoSearch1::Store::InvIndex. It serves two main purposes.
First, it's possible to load an existing FSInvIndex into memory, which can improve search-speed -- if you have that kind of RAM to spare. Needless to say, any FSInvIndex you try to load this way should be appropriately modest in size.
Second, RAMInvIndex is handy for testing and development.
Create a RAMInvIndex object.
newtakes one optional parameter,
pathis supplied, KinoSearch1 will try to read an FSInvIndex at that location into memory.
Copyright 2005-2010 Marvin Humphrey
See KinoSearch1 version 1.01.