org.apache.lucene.index
Interface IndexCommitPoint
-
public interface IndexCommitPoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voiddelete()Delete this commit point.java.util.CollectiongetFileNames()Returns all index files referenced by this commit point.java.lang.StringgetSegmentsFileName()Get the segments file (segments_N) associated with this commit point.
-
-
-
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.IOExceptionReturns 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
IndexDeletionPolicyin effect and therefore this should only be called by itsonInit()oronCommit()methods.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG