NAME

KinoSearch::Index::PostingsReader - Read postings data.

SYNOPSIS

my $postings_reader 
    = $seg_reader->obtain("KinoSearch::Index::PostingsReader");
my $posting_list = $postings_reader->posting_list(
    field => 'title', 
    term  => 'foo',
);

DESCRIPTION

PostingsReaders produce PostingList objects which convey document matching information.

ABSTRACT METHODS

posting_list( [labeled params] )

Returns a PostingList, or undef if either field is undef or field is not present in any documents.

  • field - A field name.

  • term - If supplied, the PostingList will be pre-located to this term using seek().

INHERITANCE

KinoSearch::Index::PostingsReader isa KinoSearch::Index::DataReader isa KinoSearch::Obj.

COPYRIGHT

Copyright 2005-2009 Marvin Humphrey

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch version 0.30.