Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
49 virtual void initialize();
61 virtual void touchFile(
const String& name);
64 virtual int64_t
fileLength(
const String& name);
68 int64_t sizeInBytes();
71 virtual void deleteFile(
const String& name);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
LPPAPI uint64_t fileModified(const String &path)
Return file last modified date and time.
A Directory is a flat list of files. Files may be written once, when they are created....
Definition: Directory.h:18
LPPAPI bool touchFile(const String &path)
Set file last modified date and time to now.
boost::weak_ptr< Directory > DirectoryWeakPtr
Definition: LuceneTypes.h:489
DirectoryWeakPtr _dirSource
Definition: RAMDirectory.h:44
MapStringRAMFile fileMap
Definition: RAMDirectory.h:41
LPPAPI int64_t fileLength(const String &path)
Return file length in bytes.
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
A memory-resident Directory implementation. Locking implementation is by default the SingleInstanceLo...
Definition: RAMDirectory.h:17
bool closeDir
Definition: RAMDirectory.h:46
bool copyDirectory
Definition: RAMDirectory.h:45
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
LPPAPI bool fileExists(const String &path)
Return true if given file or directory exists.
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
clucene.sourceforge.net