Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef INDEXDELETIONPOLICY_H
8 #define INDEXDELETIONPOLICY_H
virtual void onCommit(Collection< IndexCommitPtr > commits)=0
This is called each time the writer completed a commit. This gives the policy a chance to remove old ...
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Policy for deletion of stale index commits. Implement this interface, and pass it to one of the Index...
Definition: IndexDeletionPolicy.h:27
virtual void onInit(Collection< IndexCommitPtr > commits)=0
This is called once when a writer is first instantiated to give the policy a chance to remove old com...
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual ~IndexDeletionPolicy()
clucene.sourceforge.net