Recommended manner to store a boolean field in RediSearch

Hi there!

What is the recommended manner to store booleans with RediSearch? should we a NUMERIC field (with 0 or 1 value)? is it going to change soon with the Boolean type introduced in RESP3?

2 Likes

Numeric would be a good (and lean) choice.
We do not currently plan on making a special bool type in RediSearch.

1 Like

Thanks for the information.

1 Like