Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
10 #include <boost/any.hpp>
155 virtual void purgeAllCaches() = 0;
195 int32_t binarySearchLookup(
const String& key);
215 virtual uint8_t parseByte(
const String&
string);
227 virtual int32_t parseInt(
const String&
string);
239 virtual int64_t parseLong(
const String&
string);
251 virtual double parseDouble(
const String&
string);
262 virtual String getFieldName() = 0;
263 virtual int32_t getCacheType() = 0;
264 virtual boost::any getCustom() = 0;
265 virtual boost::any getValue() = 0;
267 virtual String toString();
Interface to parse doubles from document fields.
Definition: FieldCache.h:244
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< StringIndex > StringIndexPtr
Definition: LuceneTypes.h:460
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
Stores term text values and document ordering data.
Definition: FieldCache.h:180
A unique Identifier/Description for each item in the FieldCache. Can be useful for logging/debugging.
Definition: FieldCache.h:255
Maintains caches of term values.
Definition: FieldCache.h:17
Definition: AbstractAllTermDocs.h:12
Marker interface as super-interface to all parsers. It is used to specify a custom parser to {}.
Definition: FieldCache.h:200
@ CACHE_STRING
Definition: FieldCache.h:29
Base class for all Lucene classes.
Definition: LuceneObject.h:31
boost::shared_ptr< DoubleParser > DoubleParserPtr
Definition: LuceneTypes.h:328
@ CACHE_LONG
Definition: FieldCache.h:27
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
static const int32_t STRING_INDEX
Indicator for StringIndex values in the cache. NOTE: the value assigned to this constant must not be ...
Definition: FieldCache.h:35
boost::shared_ptr< LongParser > LongParserPtr
Definition: LuceneTypes.h:378
boost::shared_ptr< IntParser > IntParserPtr
Definition: LuceneTypes.h:376
#define LUCENE_INTERFACE(Name)
Definition: LuceneObject.h:19
@ CACHE_DOUBLE
Definition: FieldCache.h:28
Collection< int32_t > order
For each document, an index into the lookup array.
Definition: FieldCache.h:192
Interface to parse longs from document fields.
Definition: FieldCache.h:232
boost::shared_ptr< ByteParser > ByteParserPtr
Definition: LuceneTypes.h:289
boost::any value
Definition: FieldCache.h:173
boost::shared_ptr< FieldCache > FieldCachePtr
Definition: LuceneTypes.h:334
@ CACHE_INT
Definition: FieldCache.h:26
boost::shared_ptr< InfoStream > InfoStreamPtr
Definition: LuceneTypes.h:532
CacheType
Specifies whether and how a field should be stored.
Definition: FieldCache.h:24
Interface to parse ints from document fields.
Definition: FieldCache.h:220
Interface to parse bytes from document fields.
Definition: FieldCache.h:208
Definition: FieldCache.h:170
clucene.sourceforge.net