The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DEPRECATED

The KinoSearch code base has been assimilated by the Apache Lucy project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home: http://lucy.apache.org/

SYNOPSIS

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

DESCRIPTION

PostingListReaders 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::PostingListReader isa KinoSearch::Index::DataReader isa KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE

Copyright 2005-2011 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.