Commit 574d09a 1 parent 2c9fdcd commit 574d09a Copy full SHA for 574d09a
File tree 1 file changed +4
-4
lines changed
metadata-io/src/main/java/com/linkedin/metadata/search/utils
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -599,16 +599,16 @@ private static RangeQueryBuilder buildRangeQueryFromCriterion(
599
599
String documentFieldName ;
600
600
if (fieldTypes .contains (BOOLEAN_FIELD_TYPE )) {
601
601
criterionValue = Boolean .parseBoolean (criterionValueString );
602
- documentFieldName = criterion . getField () ;
602
+ documentFieldName = fieldName ;
603
603
} else if (fieldTypes .contains (LONG_FIELD_TYPE ) || fieldTypes .contains (DATE_FIELD_TYPE )) {
604
604
criterionValue = Long .parseLong (criterionValueString );
605
- documentFieldName = criterion . getField () ;
605
+ documentFieldName = fieldName ;
606
606
} else if (fieldTypes .contains (DOUBLE_FIELD_TYPE )) {
607
607
criterionValue = Double .parseDouble (criterionValueString );
608
- documentFieldName = criterion . getField () ;
608
+ documentFieldName = fieldName ;
609
609
} else {
610
610
criterionValue = criterionValueString ;
611
- documentFieldName = toKeywordField (criterion . getField () , isTimeseries );
611
+ documentFieldName = toKeywordField (fieldName , isTimeseries );
612
612
}
613
613
614
614
// Set up QueryBuilder based on condition
You can’t perform that action at this time.
0 commit comments