Lucene++ - a full-featured, c++ search engine
API Documentation
double avgVal
Definition: DocValues.h:32
virtual String toString(int32_t doc)=0
Return a string representation of a doc value, as required for Explanations.
virtual CollectionValue getInnerArray()
For test purposes only, return the inner array of values, or null if not applicable.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual int32_t intVal(int32_t doc)
Return doc value as an int. Optional: DocValues implementation can (but don't have to) override this ...
virtual double getMinValue()
Returns the minimum of all values or NaN if this DocValues instance does not contain any value....
virtual int64_t longVal(int32_t doc)
Return doc value as a long. Optional: DocValues implementation can (but don't have to) override this ...
virtual String strVal(int32_t doc)
Return doc value as a string. Optional: DocValues implementation can (but don't have to) override thi...
Represents field values as different types. Normally created via a ValueSuorce for a particular field...
Definition: DocValues.h:22
virtual ExplanationPtr explain(int32_t doc)
Explain the scoring value for the input doc.
virtual double doubleVal(int32_t doc)=0
Return doc value as a double. Mandatory: every DocValues implementation must implement at least this ...
void compute()
Compute optional values.
virtual double getAverageValue()
Returns the average of all values or NaN if this DocValues instance does not contain any value....
virtual double getMaxValue()
Returns the maximum of all values or NaN if this DocValues instance does not contain any value....
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
double maxVal
Definition: DocValues.h:31
double minVal
Definition: DocValues.h:27
bool computed
Definition: DocValues.h:33
boost::shared_ptr< Explanation > ExplanationPtr
Definition: LuceneTypes.h:333
virtual String toString()
Returns a string representation of the object.
clucene.sourceforge.net