improve exception message

This commit is contained in:
Mike McCandless 2021-12-21 12:28:38 -05:00
parent 0f41b5511e
commit 872902bfab
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }