mirror of https://github.com/apache/lucene.git
improve exception message
This commit is contained in:
parent
0f41b5511e
commit
872902bfab
|
@ -140,7 +140,7 @@ class TaxonomyIndexArrays extends ParallelTaxonomyArrays implements Accountable
|
||||||
leafContext.reader().getNumericDocValues(Consts.FIELD_PARENT_ORDINAL_NDV);
|
leafContext.reader().getNumericDocValues(Consts.FIELD_PARENT_ORDINAL_NDV);
|
||||||
if (parentValues == null) {
|
if (parentValues == null) {
|
||||||
throw new CorruptIndexException(
|
throw new CorruptIndexException(
|
||||||
"Parent data field " + Consts.FIELD_PARENT_ORDINAL_NDV + " not exists",
|
"Parent data field " + Consts.FIELD_PARENT_ORDINAL_NDV + " does not exist",
|
||||||
leafContext.reader().toString());
|
leafContext.reader().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue