0

I would like to use openresty to connect to redisearch.
The are no available specific clients for Lua, so i was thinking to use the native lua-resty-redis

How can i execute this redis command with lua?

127.0.0.1:6379> FT.SEARCH myIdx "hello world" LIMIT 0 10
Guy Korland
  • 9,139
  • 14
  • 59
  • 106
George Livanoss
  • 443
  • 1
  • 4
  • 14

1 Answers1

0

reply to self:

i've added this function in redis.lua

function _M.ftsearch(self, ...)
    return _do_cmd(self, "ft.search", ...)
end
George Livanoss
  • 443
  • 1
  • 4
  • 14