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.crEnum Members
-
M =
0 -
KM =
1 -
MI =
2 -
FT =
3
Instance Method Summary
-
#ft?
Returns
trueif this enum value equalsFT -
#km?
Returns
trueif this enum value equalsKM -
#m?
Returns
trueif this enum value equalsM -
#mi?
Returns
trueif this enum value equalsMI
Class methods inherited from struct Enum
from_graph_result(result : Int64)from_graph_result(result : String)
from_graph_result(result : Redis::Graph::Value) from_graph_result, from_redis_graph_value(type : Redis::Graph::ValueType, value, cache) from_redis_graph_value