Lucene++ - a full-featured, c++ search engine
API Documentation
virtual String stringValue()
Returns the numeric value as a string (how it is stored, when Field.Store#YES is chosen).
boost::shared_ptr< NumericField > NumericFieldPtr
Definition: LuceneTypes.h:81
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual ReaderPtr readerValue()
Returns always null for numeric fields.
virtual TokenStreamPtr tokenStreamValue()
Returns a NumericTokenStream for indexing the numeric value.
virtual int64_t getNumericValue()
Returns the current numeric value.
boost::shared_ptr< NumericTokenStream > NumericTokenStreamPtr
Definition: LuceneTypes.h:39
boost::shared_ptr< Reader > ReaderPtr
Definition: LuceneTypes.h:547
Definition: AbstractField.h:14
Definition: AbstractAllTermDocs.h:12
virtual NumericFieldPtr setDoubleValue(double value)
Initializes the field with the supplied double value.
virtual NumericFieldPtr setIntValue(int32_t value)
Initializes the field with the supplied int value.
NumericTokenStreamPtr tokenStream
Definition: NumericField.h:97
This class provides a Field that enables indexing of numeric values for efficient range filtering and...
Definition: NumericField.h:59
Store
Specifies whether and how a field should be stored.
Definition: AbstractField.h:17
virtual ByteArray getBinaryValue(ByteArray result)
Returns always null for numeric fields.
virtual NumericFieldPtr setLongValue(int64_t value)
Initializes the field with the supplied long value.
NumericField(const String &name, int32_t precisionStep)
Creates a field for numeric values with the specified precisionStep. The instance is not yet initiali...
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition: LuceneTypes.h:63
NumericField(const String &name, Field::Store store, bool index)
Creates a field for numeric values using the default precisionStep NumericUtils#PRECISION_STEP_DEFAUL...
NumericField(const String &name, int32_t precisionStep, Field::Store store, bool index)
Creates a field for numeric values with the specified precisionStep. The instance is not yet initiali...
NumericField(const String &name)
Creates a field for numeric values using the default precisionStep NumericUtils#PRECISION_STEP_DEFAUL...
clucene.sourceforge.net