|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.ConsistencyCheck
public class ConsistencyCheck
Implements a consistency check on the search index. Currently the following checks are implemented:
| Method Summary | |
|---|---|
List<ConsistencyCheckError> |
getErrors()
Returns the errors detected by the consistency check. |
void |
repair(boolean ignoreFailure)
Repairs detected errors during the consistency check. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void repair(boolean ignoreFailure)
throws IOException
ignoreFailure - if true repair failures are ignored,
the repair continues without throwing an exception. If
false the repair procedure is aborted on the first
repair failure.
IOException - if a repair failure occurs.public List<ConsistencyCheckError> getErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||