Query: plucene::index::fieldsreader
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Plucene::Index::FieldsReader(3pm) User Contributed Perl Documentation Plucene::Index::FieldsReader(3pm)NAMEPlucene::Index::FieldsReader - read Fields in a DocumentSYNOPSISmy $reader = Plucene::Index::FieldsReader->new( $dir_name, $segment, $field_infos); my Plucene::Document $doc = $reader->doc($offset); my $size = $reader->size;DESCRIPTIONThis class gives access to documents within the index.METHODSnew my $reader = Plucene::Index::FieldsReader->new( $dir_name, $segment, $field_infos); This will create a new Plucene::Index::FieldsReader with the passed in directory name, segment and field infos. size my $size = $reader->size; This returns the size. doc my Plucene::Document $doc = $reader->doc($offset); This will return the Plucene::Document object found at the passed in position. perl v5.12.4 2011-08-14 Plucene::Index::FieldsReader(3pm)