enum

Redis::FullText::GeoUnit

Inherits Enum < Comparable < Value < Object

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}

Constants

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

Instance methods

ft?

Returns true if this enum value equals FT

Source
km?

Returns true if this enum value equals KM

Source
m?

Returns true if this enum value equals M

Source
mi?

Returns true if this enum value equals MI

Source