KinoSearch::Index::PostingsReader - Read postings data.
my $postings_reader = $seg_reader->obtain("KinoSearch::Index::PostingsReader"); my $posting_list = $postings_reader->posting_list( field => 'title', term => 'foo', );
PostingsReaders produce PostingList objects which convey document matching information.
Returns a PostingList, or undef if either field is undef or field is not present in any documents.
field
field - A field name.
term - If supplied, the PostingList will be pre-located to this term using seek().
KinoSearch::Index::PostingsReader isa KinoSearch::Index::DataReader isa KinoSearch::Obj.
Copyright 2005-2009 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KSx::Simple
CPAN shell
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.