RediSearch / redisearch-go

Go client for RediSearch

Home Page:https://redisearch.io

Repository from Github https://github.comRediSearch/redisearch-goRepository from Github https://github.comRediSearch/redisearch-go

Tags and Geo types not recognized in Info()

maguec opened this issue · comments

If I create an index with a GEO or TAG field type

Info() returns Type 0 (string when it should show TAG or GEO)

127.0.0.1:6379>  "FT.INFO" "fortune500"
    16) 1) tags
        2) type
        3) TAG
        4) SEPARATOR
        5) ,

Checking the return I see

&{Schema:{Fields:[{Name:tags Type:0 Sortable:false Options:<nil>} {REMOVED_FOR_CLARITY}```

Issue was fixed