I am trying to use redisearch to index analytics events for my website (pageviews etc…). An event is represented as a hash (document) and its fields mainly store identifiers instead of free-text - e.g.:
field1: p123
field2: p456,p123
What is the most efficient way to index these fields in redisearch? I have used tags before, but with a smaller tag population (e.g. a few thousand). In this case, there will be millions of different ids.
I would like to do equality constraints (i.e. not really search). I currently use TEXT NOSTEM for these fields, and my index is also created with NOOFFSETS NOFREQS.
Thanks