#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
TopDocs(int32_t totalHits, Collection< ScoreDocPtr > scoreDocs)
Constructs a TopDocs with a default maxScore = double.NaN.
int32_t totalHits
The total number of hits for the query.
Definition TopDocs.h:30
Collection< ScoreDocPtr > scoreDocs
The top hits for the query.
Definition TopDocs.h:33
double maxScore
Stores the maximum score value encountered, needed for normalizing.
Definition TopDocs.h:36
TopFieldDocs(int32_t totalHits, Collection< ScoreDocPtr > scoreDocs, Collection< SortFieldPtr > fields, double maxScore)
Collection< SortFieldPtr > fields
The fields which were used to sort results by.
Definition TopFieldDocs.h:29
Definition AbstractAllTermDocs.h:12