Lucy::Index::LexiconReader – Read Lexicon data.
LexiconReader reads term dictionary information.
lucy_Lexicon* // incremented lucy_LexReader_Lexicon( lucy_LexiconReader *self, cfish_String *field, cfish_Obj *term );
Return a new Lexicon for the given
field. Will return
NULL if either the field is not indexed, or if no documents
contain a value for the field.
Pre-locate the Lexicon to this term.
Return the number of documents where the specified term is present.
lucy_LexiconReader* // incremented lucy_LexReader_Aggregator( lucy_LexiconReader *self, cfish_Vector *readers, lucy_I32Array *offsets );
Return a LexiconReader which merges the output of other LexiconReaders.
An array of LexiconReaders.
Doc id start offsets for each reader.
lucy_Schema* lucy_LexReader_Get_Schema( lucy_LexiconReader *self );
Accessor for “schema” member var.
lucy_Folder* lucy_LexReader_Get_Folder( lucy_LexiconReader *self );
Accessor for “folder” member var.
lucy_Snapshot* lucy_LexReader_Get_Snapshot( lucy_LexiconReader *self );
Accessor for “snapshot” member var.
cfish_Vector* lucy_LexReader_Get_Segments( lucy_LexiconReader *self );
Accessor for “segments” member var.
lucy_Segment* lucy_LexReader_Get_Segment( lucy_LexiconReader *self );
Accessor for “segment” member var.
int32_t lucy_LexReader_Get_Seg_Tick( lucy_LexiconReader *self );
Accessor for “seg_tick” member var.
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.