1KinoSearch1::Store::RAMUIsnevrInCdoenxt(r3i)buted Perl DKoicnuomSeenatracthi1o:n:Store::RAMInvIndex(3)
2
3
4
6 KinoSearch1::Store::RAMInvIndex - in-memory InvIndex
7
9 my $invindex = KinoSearch1::Store::RAMInvIndex->new(
10 path => '/path/to/invindex',
11 );
12
13 # or...
14 my $invindex = KinoSearch1::Store::RAMInvIndex->new;
15
17 RAMInvIndex is an entirely in-memory implementation of
18 KinoSearch1::Store::InvIndex. It serves two main purposes.
19
20 First, it's possible to load an existing FSInvIndex into memory, which
21 can improve search-speed -- if you have that kind of RAM to spare.
22 Needless to say, any FSInvIndex you try to load this way should be
23 appropriately modest in size.
24
25 Second, RAMInvIndex is handy for testing and development.
26
28 new
29 Create a RAMInvIndex object. "new" takes one optional parameter,
30 "path". If "path" is supplied, KinoSearch1 will try to read an
31 FSInvIndex at that location into memory.
32
34 Copyright 2005-2010 Marvin Humphrey
35
37 See KinoSearch1 version 1.01.
38
39
40
41perl v5.30.1 2020-01-30KinoSearch1::Store::RAMInvIndex(3)