We are using Aerospike’s query feature with geo point in a polygon filter. WE have created GEO2DSPHERE secondary index on the bin, but we see that it is taking time. Currenty the record in that set is around 9 million and might increase so we thought if we can increase the performance by sending primary ids in query so that geo search happens on matched records only instead of 9 million.
Please let me know if this is possible and how can we achieve that or is there any other way to increase the performance .