Documentation of 'org.apache.lucene.index.IndexCommitPoint' Java class
IndexCommitPoint
org.apache.lucene.index

Interface IndexCommitPoint



  • public interface IndexCommitPoint
    • Method Detail

      • getSegmentsFileName

        java.lang.String getSegmentsFileName()
        Get the segments file (segments_N) associated with this commit point.
      • getFileNames

        java.util.Collection getFileNames()
                                   throws java.io.IOException
        Returns all index files referenced by this commit point.
        Throws:
        java.io.IOException
      • delete

        void delete()
        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 IndexDeletionPolicy in effect and therefore this should only be called by its onInit() or onCommit() methods.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.