parcel | Lucy |
class variable | LUCY_BITCOLLECTOR |
struct symbol | lucy_BitCollector |
class nickname | lucy_BitColl |
header file | Lucy/Search/Collector.h |
Lucy::Search::Collector::BitCollector – Collector which records doc nums in a BitVector.
BitCollector is a Collector which saves matching document ids in a BitVector. It is useful for recording the entire set of documents which matches a query.
lucy_BitCollector* // incremented
lucy_BitColl_new(
lucy_BitVector *bit_vector
);
Create a new BitCollector.
A Lucy::Object::BitVector.
lucy_BitCollector*
lucy_BitColl_init(
lucy_BitCollector *self,
lucy_BitVector *bit_vector
);
Initialize a BitCollector.
A Lucy::Object::BitVector.
void
lucy_BitColl_Collect(
lucy_BitCollector *self,
int32_t doc_id
);
Set bit in the object’s BitVector for the supplied doc id.
Lucy::Search::Collector::BitCollector is a Lucy::Search::Collector 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.