public abstract static class SegmentInfos.FindSegmentsFile
extends java.lang.Object
| Constructor and Description |
|---|
FindSegmentsFile(Directory directory)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
run()
Locate the most recent
segments file and
run doBody(java.lang.String) on it. |
java.lang.Object |
run(IndexCommit commit)
Run
doBody(java.lang.String) on the provided commit. |
public FindSegmentsFile(Directory directory)
public java.lang.Object run()
throws java.io.IOException
segments file and
run doBody(java.lang.String) on it.java.io.IOExceptionpublic java.lang.Object run(IndexCommit commit) throws java.io.IOException
doBody(java.lang.String) on the provided commit.java.io.IOExceptionCopyright © 2010 - 2024 Adobe. All Rights Reserved