Lucy::Index::PostingListReader(3pm)

Lucy::Index::PostingListReader3pm

Read postings data.

Usage

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

Overview

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

Lucy::Index::PostingListReader isa Lucy::Index::DataReader isa Lucy::Object::Obj.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From liblucy-perl 0.3.3-7+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.