Lucene++ - a full-featured, c++ search engine
API Documentation
void setMaxScore(double maxScore)
Sets the maximum score value encountered.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
double maxScore
Stores the maximum score value encountered, needed for normalizing.
Definition: TopDocs.h:36
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:26
Definition: AbstractAllTermDocs.h:12
Represents hits returned by Searcher#search(QueryPtr, FilterPtr, int32_t) and {}.
Definition: TopDocs.h:16
Base class for all Lucene classes.
Definition: LuceneObject.h:31
double getMaxScore()
Returns the maximum score value encountered. Note that in case scores are not tracked,...
Collection< ScoreDocPtr > scoreDocs
The top hits for the query.
Definition: TopDocs.h:33
TopDocs(int32_t totalHits, Collection< ScoreDocPtr > scoreDocs, double maxScore)
Constructs a TopDocs.
clucene.sourceforge.net