public final class LeafMetaData extends Object
Constructor and Description |
---|
LeafMetaData(int createdVersionMajor,
Version minVersion,
Sort sort)
Expert: Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCreatedVersionMajor()
Get the Lucene version that created this index.
|
Version |
getMinVersion()
Return the minimum Lucene version that contributed documents to this index,
or
null if this information is not available. |
Sort |
getSort()
Return the order in which documents from this index are sorted, or
null if documents are in no particular order. |
public LeafMetaData(int createdVersionMajor, Version minVersion, Sort sort)
LeafReader
impls.public int getCreatedVersionMajor()
6
indicates that the created version is unknown.public Version getMinVersion()
null
if this information is not available.public Sort getSort()
null
if documents are in no particular order.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.