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.exorciseIndex(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.
|
static CheckIndex.Status |
TestUtil.checkIndex(Directory dir,
boolean crossCheckTermVectors) |
static CheckIndex.Status |
TestUtil.checkIndex(Directory dir,
boolean crossCheckTermVectors,
boolean failFast)
If failFast is true, then throw the first exception when index corruption is hit, instead of moving on to other fields/segments to
look for any other corruption.
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.