Aerospike date filter

Hi guys, I am new to the Aerospike, was searching to find out how can I use date filter in aerospike. I am shifting some parts of my application from mongodb to aerospike, so in mongodb i was using $gte and $lte to filter out. How can i perform the same in aerospike?

If you want a one-to-many match that would be a secondary index in Aerospike. The more suggested approach is to instead structure your keys in a way that reflect the date. Ex… key1-2020-09-15 as a composite key, or using maps to append data to a single key, or even scanning based off LUT but there are limitations/pros to each implementation. It would be good to know more about the use case.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.