Java org.apache.lucene.index IndexCommit fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.index IndexCommit fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.index IndexCommit.

The text is from its open source code.

Subclass

org.apache.lucene.index.IndexCommit has subclasses.
Click this link to see all its subclasses.

Method

voiddelete()
Delete this commit point.
booleanequals(Object other)
Two IndexCommits are equal if both their Directory and versions are equal.
DirectorygetDirectory()
Returns the Directory for the index.
CollectiongetFileNames()
Returns all index files referenced by this commit point.
longgetGeneration()
Returns the generation (the _N in segments_N) for this IndexCommit
intgetSegmentCount()
Returns number of segments referenced by this commit.
StringgetSegmentsFileName()
Get the segments file (segments_N) associated with this commit point.
MapgetUserData()
Returns userData, previously passed to IndexWriter#setLiveCommitData(Iterable) for this commit.
booleanisDeleted()
Returns true if this commit should be deleted; this is only used by IndexWriter after invoking the IndexDeletionPolicy .