redisearch-go icon indicating copy to clipboard operation
redisearch-go copied to clipboard

do we have a mothed to get the []string with in search result documents?

Open Iteravse opened this issue 2 years ago • 0 comments

we can not get the []string arrary, in search result in documents,it poped the error:

    interface conversion: interface {} is string, not []string,

and the struct of data like this: Image

and the inner data of [] got it from document like this "[good at learning, understanding and thinking in a logical way about things; showing this ability; able to understand and learn things]" it's a string not arrary It should be noted that orginal the array with length 2,then i can't get it []string format again,it any idea?,we just can get that with HGET,but we had to many datas, it too slow,

Iteravse avatar May 14 '22 12:05 Iteravse