Lucy::Index::PostingListReader - Read postings data.
my $posting_list_reader = $seg_reader->obtain("Lucy::Index::PostingListReader"); my $posting_list = $posting_list_reader->posting_list( field => 'title', term => 'foo', );
PostingListReaders 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().
Lucy::Index::PostingListReader isa Lucy::Index::DataReader isa Clownfish::Obj.
To install Lucy::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lucy::Simple
CPAN shell
perl -MCPAN -e shell install Lucy::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.