GEOSEARCHSTORE

Stores the results of a member-centered geographic radius search.

Geospatial · Example verified

Syntax covered here

GEOSEARCHSTORE destination source FROMMEMBER member BYRADIUS radius km

The case writes to a separate destination and reports one matching location.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> GEOADD places 13.361389 38.115556 Palermo
1
# connection: default
> GEOSEARCHSTORE result places FROMMEMBER Palermo BYRADIUS 1 km
1