private class TieredMergePolicy.SegmentByteSizeDescending extends java.lang.Object implements java.util.Comparator<SegmentCommitInfo>
| Modifier and Type | Field and Description |
|---|---|
private IndexWriter |
writer |
| Constructor and Description |
|---|
SegmentByteSizeDescending(IndexWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(SegmentCommitInfo o1,
SegmentCommitInfo o2) |
private final IndexWriter writer
SegmentByteSizeDescending(IndexWriter writer)
public int compare(SegmentCommitInfo o1, SegmentCommitInfo o2)
compare in interface java.util.Comparator<SegmentCommitInfo>