RediSearch / redisearch-go

Go client for RediSearch
https://redisearch.io
BSD 3-Clause "New" or "Revised" License
288 stars 65 forks source link

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

Open Iteravse opened 2 years ago

Iteravse commented 2 years ago

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,