GEOSEARCHSTORERun GEOSEARCH on source and store the hits into destination.
| 構文 | GEOSEARCHSTORE destination source FROMMEMBER member|FROMLONLAT longitude latitude BYRADIUS radius m|km|mi|ft|BYBOX width height m|km|mi|ft [ASC|DESC] [COUNT count [ANY]] [STOREDIST] |
| グループ | geo |
| 引数の数 | -5 |
| 導入バージョン | 1.0.0 |
| フラグ | write |
| 計算量 | O(log N + C) to search, plus O(D + K log K) to rewrite the destination on its own shard |
| Redis 互換性 | differs: STOREDIST stores the distance in the unit the query asked for (Redis does the same); the destination is written on its own shard, so the source and destination may live on different cores and the write is not atomic with the read |