Doubts on points within a region query


#1

Hi, Aerospike supports query to find all the points within a region. If I define a circle region with centre as (x, y) in my query and want to find all the points inside this region, but sorted by its distance from centre of the circle (x, y). Is this supported in aerospike?


#2

Aerospike doesn’t sort the results of any query. You need to do that in your application, as you’re iterating over the results. You should have plenty of compute power on your application side to do this.