enum Redis::FullText::GeoUnit

Overview

Pass to the search method's geofilter argument to filter within the specified range. For example, to search for pizza places within 25 miles of the Baltimore Ravens stadium:

redis.ft.search "places-index", "pizza",
  geofilter: {"location", -76.622400, 39.277751, 25, :mi}

Defined in:

search.cr

Enum Members

M = 0
KM = 1
MI = 2
FT = 3

Instance Method Summary

Instance Method Detail

def ft? #

[View source]
def km? #

[View source]
def m? #

[View source]
def mi? #

[View source]