I am performing a REDISEARCH tag search only query like this:
'@tags:{Food|Restaurant|Chicago}'
I would like to sort the result based on number of successful matches of these tags in the document.
So that:
- a document containing all 3 tags would rank first
- a document matching only 2 of these would rank second
- a document mathcing only 1 would rank third.
Is this possible ? If so, please how can I perform such a sort ?
Thanks!