Hi,
Aerospike Rookie.
aerospike client context: golang
Use Case:
we have a Set
with a bin
Time
of data type String
.
We store Time
String in the format specified by RFC-3339( YYYY-MM-DDThh:mm:ssZ), which is a specific profile of ISO-8601 Datetime format.
Essentially, Time
is sortable as its String
Values lexicographical order aligns with the Chronological Order.
We created an Index
CREATE INDEX idx_timestamp ON ns.set-Name (Time) STRING
Given that in filter.go
API NewRangeFilter
the String ranges are not supported
,
I tried a combination of expression.go
ExpGreater
and ExpLess
in a query with Time values to achieve the same result as NewRangeFilter
.
Is the Query
using the Two Expressions ExpGreater
and ExpLess
from expression.go
using the underlying index idx_timestamp?
How can I be assured of that ?
Thanks much