public final class IndexMetadata extends Object
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_VERSION
Deprecated.
do not use
|
static float |
INDEX_VERSION_1_1
Deprecated.
do not use
|
static float |
INDEX_VERSION_1_2
latest version on top
|
static String |
LATEST_INDEX_VERSION |
private static org.slf4j.Logger |
log |
static String |
LUCENE_VERSION |
private static IndexMetadata |
myInstance |
static String |
PREFIX_LATEST_INDEX_VERSION_BOOK_OVERRIDE |
private PropertyMap |
props |
Modifier | Constructor and Description |
---|---|
private |
IndexMetadata() |
Modifier and Type | Method and Description |
---|---|
static String |
generateInstalledBooksIndexVersionReport(BookFilter filter) |
static String |
getBookIdentifierPropSuffix(BookMetaData meta) |
float |
getInstalledIndexVersion()
Deprecated.
see InstalledIndex.java
|
float |
getLatestIndexVersion() |
float |
getLatestIndexVersion(Book b) |
String |
getLatestIndexVersionStr() |
float |
getLuceneVersion() |
static IndexMetadata |
instance()
All access to IndexMetadata is through this single instance.
|
public static final float INDEX_VERSION_1_2
@Deprecated public static final float INDEX_VERSION_1_1
public static final String LATEST_INDEX_VERSION
public static final String LUCENE_VERSION
public static final String PREFIX_LATEST_INDEX_VERSION_BOOK_OVERRIDE
@Deprecated public static final String INDEX_VERSION
private static final org.slf4j.Logger log
private static IndexMetadata myInstance
private PropertyMap props
public static IndexMetadata instance()
@Deprecated public float getInstalledIndexVersion()
public float getLatestIndexVersion()
public float getLatestIndexVersion(Book b)
public String getLatestIndexVersionStr()
public static String getBookIdentifierPropSuffix(BookMetaData meta)
public float getLuceneVersion()
public static String generateInstalledBooksIndexVersionReport(BookFilter filter)