Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
23 Field(
const String& name,
const String& value,
Store store,
Index index);
73 Field(
const String& name, ByteArray value,
Store store);
82 Field(
const String& name, ByteArray value, int32_t offset, int32_t length,
Store store);
93 static bool isStored(
Store store);
96 static bool isIndexed(
Index index);
97 static bool isAnalyzed(
Index index);
98 static bool omitNorms(
Index index);
101 static Field::Index toIndex(
bool indexed,
bool analyzed);
104 static Field::Index toIndex(
bool indexed,
bool analyzed,
bool omitNorms);
108 static bool withPositions(
TermVector termVector);
109 static bool withOffsets(
TermVector termVector);
112 static Field::TermVector toTermVector(
bool stored,
bool withOffsets,
bool withPositions);
116 virtual String stringValue();
131 virtual void setValue(
const String& value);
134 virtual void setValue(
const ReaderPtr& value);
137 virtual void setValue(ByteArray value);
140 virtual void setValue(ByteArray value, int32_t offset, int32_t length);
147 void ConstructField(
const String& name,
const String& value,
Store store,
Index index,
TermVector termVector);
150 void ConstructField(
const String& name, ByteArray value, int32_t offset, int32_t length,
Store store);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual bool isStored()
True if the value of the field is to be stored in the index for return with search hits....
boost::shared_ptr< Reader > ReaderPtr
Definition: LuceneTypes.h:547
Definition: AbstractField.h:14
Definition: AbstractAllTermDocs.h:12
virtual bool isIndexed()
True if the value of the field is to be indexed, so that it may be searched on.
Store
Specifies whether and how a field should be stored.
Definition: AbstractField.h:17
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition: LuceneTypes.h:63
Index
Specifies whether and how a field should be indexed.
Definition: AbstractField.h:28
TermVector
Specifies whether and how a field should have term vectors.
Definition: AbstractField.h:57
clucene.sourceforge.net