parcel | Lucy |
class variable | LUCY_POSTINGLISTREADER |
struct symbol | lucy_PostingListReader |
class nickname | lucy_PListReader |
header file | Lucy/Index/PostingListReader.h |
Lucy::Index::PostingListReader – Read postings data.
PostingListReaders produce PostingList objects which convey document matching information.
lucy_PostingList* // incremented
lucy_PListReader_Posting_List(
lucy_PostingListReader *self,
cfish_String *field,
cfish_Obj *term
);
Returns a PostingList, or NULL if either field
is
NULL or field
is not present in any documents.
A field name.
If supplied, the PostingList will be pre-located to this term using Seek().
lucy_PostingListReader* // incremented
lucy_PListReader_Aggregator(
lucy_PostingListReader *self,
cfish_Vector *readers,
lucy_I32Array *offsets
);
Returns NULL since PostingLists may only be iterated at the segment level.
lucy_Schema*
lucy_PListReader_Get_Schema(
lucy_PostingListReader *self
);
Accessor for “schema” member var.
lucy_Folder*
lucy_PListReader_Get_Folder(
lucy_PostingListReader *self
);
Accessor for “folder” member var.
lucy_Snapshot*
lucy_PListReader_Get_Snapshot(
lucy_PostingListReader *self
);
Accessor for “snapshot” member var.
cfish_Vector*
lucy_PListReader_Get_Segments(
lucy_PostingListReader *self
);
Accessor for “segments” member var.
lucy_Segment*
lucy_PListReader_Get_Segment(
lucy_PostingListReader *self
);
Accessor for “segment” member var.
int32_t
lucy_PListReader_Get_Seg_Tick(
lucy_PostingListReader *self
);
Accessor for “seg_tick” member var.
Lucy::Index::PostingListReader is a Lucy::Index::DataReader is a Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.