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.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.