Maximum number of tag field.

Hello,

I know that we can create unlimited number of tag field on each index. But I also would like to know the maximum number of tags on each tag field. Plus, if we have 10,000 tags on one tag field, will it reduce performance?

Best,

The number of tags in a single field can be unlimited in theory, however the tags are currently compiled into an array before they are indexed, so if you have a large number of tags in a field, you’ll pay to build that array. I don’t foresee the difference being noticeable until you reach several tens of thousands of tags, though. Of course, this would depend on the hardware and other factors.

Of course, it’s not entirely impossible to use a “streaming” kind of parser, but due to the relatively small number of tags per field, this is not really necessary.
Mark Nunberg | Senior Software Engineer
Redis Labs - home of Redis

Email: mark@redislabs.com