I have a field marks. It is a numeric field so, as per Redis, we should perform search something like this:
@marks:[10 5000]
or
@marks:[10 inf]
But I want functionality as above and in addition with functionality as below
@marks:10*
So, I will get set of marks something like this: {101, 102,..., 1011, 1012, 1021, 1022,..., 10011,...}
Is it possible in Redisearch as I could not find any way to perform @marks:10* on numeric fields
You can index the same field with two different alias names e.g.
Then you can do both:
And