Removing @lucene.experimental tags in testXXX methods in CheckIndex (#12893)

This commit is contained in:
Jakub Slowinski 2023-12-11 16:31:18 +00:00 committed by GitHub
parent af11ea2562
commit 4d57070bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 60 deletions

View File

@ -196,6 +196,8 @@ Other
* GITHUB#11023: Removing some dead code in CheckIndex. (Jakub Slowinski)
* GITHUB#11023: Removing @lucene.experimental tags in testXXX methods in CheckIndex. (Jakub Slowinski)
======================== Lucene 9.9.0 =======================
API Changes

View File

@ -1149,11 +1149,7 @@ public final class CheckIndex implements Closeable {
return segInfoStat;
}
/**
* Tests index sort order.
*
* @lucene.experimental
*/
/** Tests index sort order. */
public static Status.IndexSortStatus testSort(
CodecReader reader, Sort sort, PrintStream infoStream, boolean failFast) throws IOException {
// This segment claims its documents are sorted according to the incoming sort ... let's make
@ -1226,11 +1222,7 @@ public final class CheckIndex implements Closeable {
return status;
}
/**
* Test live docs.
*
* @lucene.experimental
*/
/** Test live docs. */
public static Status.LiveDocStatus testLiveDocs(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
long startNS = System.nanoTime();
@ -1295,11 +1287,7 @@ public final class CheckIndex implements Closeable {
return status;
}
/**
* Test field infos.
*
* @lucene.experimental
*/
/** Test field infos. */
public static Status.FieldInfoStatus testFieldInfos(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
long startNS = System.nanoTime();
@ -1336,11 +1324,7 @@ public final class CheckIndex implements Closeable {
return status;
}
/**
* Test field norms.
*
* @lucene.experimental
*/
/** Test field norms. */
public static Status.FieldNormStatus testFieldNorms(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
long startNS = System.nanoTime();
@ -2443,21 +2427,13 @@ public final class CheckIndex implements Closeable {
}
}
/**
* Test the term index.
*
* @lucene.experimental
*/
/** Test the term index. */
public static Status.TermIndexStatus testPostings(CodecReader reader, PrintStream infoStream)
throws IOException {
return testPostings(reader, infoStream, false, Level.MIN_LEVEL_FOR_SLOW_CHECKS, false);
}
/**
* Test the term index.
*
* @lucene.experimental
*/
/** Test the term index. */
public static Status.TermIndexStatus testPostings(
CodecReader reader, PrintStream infoStream, boolean verbose, int level, boolean failFast)
throws IOException {
@ -2510,11 +2486,7 @@ public final class CheckIndex implements Closeable {
return status;
}
/**
* Test the points index
*
* @lucene.experimental
*/
/** Test the points index. */
public static Status.PointsStatus testPoints(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
if (infoStream != null) {
@ -2617,11 +2589,7 @@ public final class CheckIndex implements Closeable {
return status;
}
/**
* Test the vectors index
*
* @lucene.experimental
*/
/** Test the vectors index. */
public static Status.VectorValuesStatus testVectors(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
if (infoStream != null) {
@ -3104,11 +3072,7 @@ public final class CheckIndex implements Closeable {
}
}
/**
* Test stored fields.
*
* @lucene.experimental
*/
/** Test stored fields. */
public static Status.StoredFieldStatus testStoredFields(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
long startNS = System.nanoTime();
@ -3162,11 +3126,7 @@ public final class CheckIndex implements Closeable {
return status;
}
/**
* Test docvalues.
*
* @lucene.experimental
*/
/** Test docvalues. */
public static Status.DocValuesStatus testDocValues(
CodecReader reader, PrintStream infoStream, boolean failFast) throws IOException {
long startNS = System.nanoTime();
@ -3623,21 +3583,13 @@ public final class CheckIndex implements Closeable {
}
}
/**
* Test term vectors.
*
* @lucene.experimental
*/
/** Test term vectors. */
public static Status.TermVectorStatus testTermVectors(CodecReader reader, PrintStream infoStream)
throws IOException {
return testTermVectors(reader, infoStream, false, Level.MIN_LEVEL_FOR_INTEGRITY_CHECKS, false);
}
/**
* Test term vectors.
*
* @lucene.experimental
*/
/** Test term vectors. */
public static Status.TermVectorStatus testTermVectors(
CodecReader reader, PrintStream infoStream, boolean verbose, int level, boolean failFast)
throws IOException {