parcel | Lucy |
class variable | LUCY_HITS |
struct symbol | lucy_Hits |
class nickname | lucy_Hits |
header file | Lucy/Search/Hits.h |
Lucy::Search::Hits – Access search results.
Hits objects are iterators used to access the results of a search.
lucy_HitDoc* // incremented
lucy_Hits_Next(
lucy_Hits *self
);
Return the next hit, or NULL when the iterator is exhausted.
uint32_t
lucy_Hits_Total_Hits(
lucy_Hits *self
);
Return the total number of documents which matched the Query used to produce the Hits object. Note that this is the total number of matches, not just the number of matches represented by the Hits iterator.
Lucy::Search::Hits 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.