16 Apr 2012 21:20:13 UTC
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (537 / 134 / 8)
- KwaliteeBus factor: 0
- 85.27% Coverage
- License: perl_5
- Activity24 month
- Download (852.87KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
- ABSTRACT METHODS
- COPYRIGHT AND LICENSE
KinoSearch::Index::DataReader - Abstract base class for reading index data.
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/
# Abstract base class.
DataReader is the companion class to DataWriter. Every index component will implement one of each.
my $reader = MyDataReader->new( schema => $seg_reader->get_schema, # default undef folder => $seg_reader->get_folder, # default undef snapshot => $seg_reader->get_snapshot, # default undef segments => $seg_reader->get_segments, # default undef seg_tick => $seg_reader->get_seg_tick, # default -1 );
schema - A Schema.
folder - A Folder.
snapshot - A Snapshot.
segments - An array of Segments.
seg_tick - The array index of the Segment object within the
segmentsarray that this particular DataReader is assigned to, if any. A value of -1 indicates that no Segment should be assigned.
Create a reader which aggregates the output of several lower level readers. Return undef if such a reader is not valid.
readers - An array of DataReaders.
offsets - Doc id start offsets for each reader.
Accessor for "schema" member var.
Accessor for "folder" member var.
Accessor for "snapshot" member var.
Accessor for "segments" member var.
Accessor for "segment" member var.
Accessor for "seg_tick" member var.
KinoSearch::Index::DataReader isa KinoSearch::Object::Obj.
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.