From dbafffa1a5157171d43dcc4102e9a907916c4a86 Mon Sep 17 00:00:00 2001 From: gashutos Date: Thu, 14 Sep 2023 12:00:29 +0530 Subject: [PATCH] Index sort print --- .../org/opensearch/index/fielddata/IndexNumericFieldData.java | 2 ++ 1 file changed, 2 insertions(+) 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 aba4d5e5df02d..025a1f719f547 100644 --- a/server/src/main/java/org/opensearch/index/fielddata/IndexNumericFieldData.java +++ b/server/src/main/java/org/opensearch/index/fielddata/IndexNumericFieldData.java @@ -222,8 +222,10 @@ private XFieldComparatorSource comparatorSource( case DATE_NANOSECONDS: return dateNanosComparatorSource(missingValue, sortMode, nested); case LONG: + System.out.println("CHETAN logs LONG"); return new LongValuesComparatorSource(this, missingValue, sortMode, nested); default: + System.out.println("CHETAN logs INT" + targetNumericType); assert !targetNumericType.isFloatingPoint(); return new IntValuesComparatorSource(this, missingValue, sortMode, nested); }