Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
virtual int64_t getTimestamp()
Convenience method that returns the last modified time of the segments_N file corresponding to this i...
virtual int64_t getGeneration()=0
Returns the generation (the _N in segments_N) for this IndexCommit.
virtual bool equals(const LuceneObjectPtr &other)
Two IndexCommits are equal if both their Directory and versions are equal.
Definition: AbstractAllTermDocs.h:12
virtual String getSegmentsFileName()=0
Get the segments file (segments_N) associated with this commit point.
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual DirectoryPtr getDirectory()=0
Returns the Directory for the index.
virtual void deleteCommit()=0
Delete this commit point. This only applies when using the commit point in the context of IndexWriter...
virtual int64_t getVersion()=0
Returns the version for this IndexCommit. This is the same value that IndexReader#getVersion would re...
virtual int32_t hashCode()
Return hash code for this object.
virtual bool isDeleted()=0
Represents a single commit into an index as seen by the IndexDeletionPolicy or IndexReader.
Definition: IndexCommit.h:22
virtual MapStringString getUserData()=0
Returns userData, previously passed to IndexWriter#commit(Map) for this commit. Map is String -> Stri...
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
virtual bool isOptimized()=0
Returns true if this commit is an optimized index.
virtual HashSet< String > getFileNames()=0
Returns all index files referenced by this commit point.
clucene.sourceforge.net