7#ifndef INDEXDELETIONPOLICY_H
8#define INDEXDELETIONPOLICY_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
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 ...
virtual ~IndexDeletionPolicy()
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