Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion client/src/com/aerospike/client/query/Filter.java
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ public static Filter geoWithinRegion(Expression exp, IndexCollectionType type, S
* @return filter instance
*/
public static Filter geoWithinRegionByIndex(String indexName, IndexCollectionType type, String region) {
return new Filter(indexName, null, type, ParticleType.GEOJSON, Value.get(region), Value.get(region));
Value v = Value.get(region);
return new Filter(indexName, null, type, ParticleType.GEOJSON, v, v);
}

/**
Expand Down