The IndexCommitPoint type exposes the following members.

Methods

  NameDescription
Public methodDelete
Delete this commit point.

Upon calling this, the writer is notified that this commit point should be deleted.

Decision that a commit-point should be deleted is taken by the {@link IndexDeletionPolicy} in effect and therefore this should only be called by its {@link IndexDeletionPolicy#onInit onInit()} or {@link IndexDeletionPolicy#onCommit onCommit()} methods.

Public methodGetFileNames
Returns all index files referenced by this commit point.
Public methodGetSegmentsFileName
Get the segments file (
CopyC#
segments_N
) associated with this commit point.

See Also