lib/redi_search_rails.rb
def ft_sugget (attribute:, prefix:)
      key = "#{@model}:#{attribute}"
      REDI_SEARCH.call('FT.SUGGET', key, prefix)
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
def ft_sugget (attribute:, prefix:)
      key = "#{@model}:#{attribute}"
      REDI_SEARCH.call('FT.SUGGET', key, prefix)
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
query dictionary for suggestion

 @param attribute [String] - name, email, etc
 @param prefix [String] - prefix to query dictionary
 @return [Array] - suggestions for prefix