We have a scenario where our keys have some structure to them. It appears to be a problem when we want to create a different index for each as we can only specify a prefix and many objects would have the same prefix for a given path.
For example given these keys
task:0
task:0:parameter:0
task:0:parameter:1
task:0:parameter:2
task:1
task:1:parameter:0
task:1:parameter:1
If we create an index with prefix “task:” we would get all the items above.
Is it possible to somehow use FT.CREATE that would only create an index for “task:[0-9]” and separately one for “task:*:parameter:”?
Would regex ever be an option here, or would performance be so bad it wouldn’t be considered?