From 465a37dd586d2036fb49eb87e5fad28509d0a1af Mon Sep 17 00:00:00 2001 From: gashutos Date: Thu, 14 Sep 2023 11:35:40 +0530 Subject: [PATCH] Index sort print --- .../org/opensearch/index/fielddata/IndexNumericFieldData.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main/java/org/opensearch/index/fielddata/IndexNumericFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/IndexNumericFieldData.java index fc040b75c58f1..f142bb26b8bc6 100644 --- a/server/src/main/java/org/opensearch/index/fielddata/IndexNumericFieldData.java +++ b/server/src/main/java/org/opensearch/index/fielddata/IndexNumericFieldData.java @@ -146,6 +146,7 @@ public final SortField sortField( } SortField sortField = new SortedNumericSortField(getFieldName(), getNumericType().sortFieldType, reverse, selectorType); sortField.setMissingValue(source.missingObject(missingValue, reverse)); + System.out.println(sortField); return sortField; }