Example usage for Java org.apache.lucene.index IndexCommit fields, constructors, methods, implement or subclass
The text is from its open source code.
void | delete() Delete this commit point. |
boolean | equals(Object other) Two IndexCommits are equal if both their Directory and versions are equal. |
Directory | getDirectory() Returns the Directory for the index. |
Collection | getFileNames() Returns all index files referenced by this commit point. |
long | getGeneration() Returns the generation (the _N in segments_N) for this IndexCommit |
int | getSegmentCount() Returns number of segments referenced by this commit. |
String | getSegmentsFileName() Get the segments file ( segments_N ) associated with this commit point. |
Map | getUserData() Returns userData, previously passed to IndexWriter#setLiveCommitData(Iterable) for this commit. |
boolean | isDeleted() Returns true if this commit should be deleted; this is only used by IndexWriter after invoking the IndexDeletionPolicy . |