Null values are retrieved as empty Strings

Hi there,

Recently, I noticed that if you have an index with a TextField and you insert a null value to this field, then later when you retrieve the value with an aggregate query, the value for the same field is the empty string.

Is this the expected behavior? what approach would you recommend to distinguish between null and the empty string?

PS: I am using Redisearch 1.613 with lettusearch 2.4.1.

may be if you can emulate that behavior yourself by filling empty fields with some special token like null or something