diff --git a/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java b/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java index 298dfa992..d468e4e60 100644 --- a/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java +++ b/src/main/java/org/springframework/data/aerospike/query/FilterOperation.java @@ -483,11 +483,7 @@ public Filter sIndexFilter(Map qualifierMap) { MAP_VAL_NOTEQ_BY_KEY { @Override public Exp filterExp(Map qualifierMap) { -// if (getValue1(qualifierMap) instanceof Value.NullValue || getValue1(qualifierMap).getObject() != null) { -// return findExistingByMapKey(qualifierMap); -// } else { - return getFilterExpMapValNotEqOrFail(qualifierMap, Exp::ne); -// } + return getFilterExpMapValNotEqOrFail(qualifierMap, Exp::ne); } @Override @@ -813,7 +809,8 @@ public Exp filterExp(Map qualifierMap) { // currently querying for a specific Map key with not null value is not supported, // it is recommended to use querying for an existing key and then filtering key:!=null return getMapValEqOrFail(qualifierMap, Exp::eq, "MAP_VAL_IS_NULL_BY_KEY"); - } } + } + } @Override public Filter sIndexFilter(Map qualifierMap) {