From 872902bfab0590cad29b7378c98d7daba3321058 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Tue, 21 Dec 2021 12:28:38 -0500 Subject: [PATCH] improve exception message --- .../lucene/facet/taxonomy/directory/TaxonomyIndexArrays.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/TaxonomyIndexArrays.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/TaxonomyIndexArrays.java index d27c33916fc..b3f90679b5d 100644 --- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/TaxonomyIndexArrays.java +++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/TaxonomyIndexArrays.java @@ -140,7 +140,7 @@ class TaxonomyIndexArrays extends ParallelTaxonomyArrays implements Accountable leafContext.reader().getNumericDocValues(Consts.FIELD_PARENT_ORDINAL_NDV); if (parentValues == null) { 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()); }