Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
CheckIndex.Status |
CheckIndex.checkIndex()
Returns a
CheckIndex.Status instance detailing
the state of the index. |
CheckIndex.Status |
CheckIndex.checkIndex(List<String> onlySegments)
Returns a
CheckIndex.Status instance detailing
the state of the index. |
Modifier and Type | Method and Description |
---|---|
void |
CheckIndex.fixIndex(CheckIndex.Status result)
Repairs the index using previously returned result
from
CheckIndex.checkIndex() . |
Modifier and Type | Method and Description |
---|---|
static CheckIndex.Status |
_TestUtil.checkIndex(Directory dir)
This runs the CheckIndex tool on the index in.
|