Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
void addDocument(const DocumentPtr &doc)
boost::shared_ptr< RAMOutputStream > RAMOutputStreamPtr
Definition: LuceneTypes.h:508
void addRawDocuments(const IndexInputPtr &stream, Collection< int32_t > lengths, int32_t numDocs)
Bulk write a contiguous series of documents. The lengths array is the length (in bytes) of each raw d...
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
void writeField(const FieldInfoPtr &fi, const FieldablePtr &field)
IndexOutputPtr indexStream
Definition: FieldsWriter.h:25
boost::shared_ptr< Document > DocumentPtr
Definition: LuceneTypes.h:74
Definition: AbstractAllTermDocs.h:12
static const int32_t FORMAT_VERSION_UTF8_LENGTH_IN_BYTES
Definition: FieldsWriter.h:34
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
Base class for all Lucene classes.
Definition: LuceneObject.h:31
static const uint8_t FIELD_IS_TOKENIZED
Definition: FieldsWriter.h:29
Definition: FieldsWriter.h:14
bool doClose
Definition: FieldsWriter.h:26
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
static const uint8_t FIELD_IS_COMPRESSED
Definition: FieldsWriter.h:31
void flushDocument(int32_t numStoredFields, const RAMOutputStreamPtr &buffer)
Writes the contents of buffer into the fields stream and adds a new entry for this document into the ...
boost::shared_ptr< Fieldable > FieldablePtr
Definition: LuceneTypes.h:76
FieldsWriter(const DirectoryPtr &d, const String &segment, const FieldInfosPtr &fn)
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
void setFieldsStream(const IndexOutputPtr &stream)
static const uint8_t FIELD_IS_BINARY
Definition: FieldsWriter.h:30
FieldInfosPtr fieldInfos
Definition: FieldsWriter.h:20
static const int32_t FORMAT_CURRENT
Definition: FieldsWriter.h:39
static const int32_t FORMAT_LUCENE_3_0_NO_COMPRESSED_FIELDS
Definition: FieldsWriter.h:35
static const int32_t FORMAT
Definition: FieldsWriter.h:33
IndexOutputPtr fieldsStream
Definition: FieldsWriter.h:24
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
clucene.sourceforge.net