7#ifndef SIMPLEFSDIRECTORY_H
8#define SIMPLEFSDIRECTORY_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for Directory implementations that store index files in the file system....
Definition FSDirectory.h:29
A straightforward implementation of FSDirectory using std::ofstream and std::ifstream.
Definition SimpleFSDirectory.h:15
virtual IndexInputPtr openInput(const String &name)
Returns a stream reading an existing file, with the specified read buffer size. The particular Direct...
virtual IndexInputPtr openInput(const String &name, int32_t bufferSize)
Creates an IndexInput for the file with the given name.
virtual IndexOutputPtr createOutput(const String &name)
Creates an IndexOutput for the file with the given name.
virtual ~SimpleFSDirectory()
SimpleFSDirectory(const String &path, const LockFactoryPtr &lockFactory=LockFactoryPtr())
Create a new SimpleFSDirectory for the named location and NativeFSLockFactory.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< LockFactory > LockFactoryPtr
Definition LuceneTypes.h:497
boost::shared_ptr< IndexInput > IndexInputPtr
Definition LuceneTypes.h:493
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition LuceneTypes.h:494