redis从3.2版本开始支持geohash算法,spring-redis-data最新发布1.8添加redis-geohash支持
Redis 3.2 stable
Redis 3.2 contains significant changes to the API and implementation of Redis. A new set of commands for Geo indexing was added (GEOADD, GEORADIUS and related commands). The new BITFIELD command handles contiguous arrays of integers or counters of arbitrary bits width and offset inside strings. Memory optimizations to hold the same data in less memory. Lua scripts can now contain side effects using the new effect replication. A complete remote Lua debugger is available in order to make writing scripts a simpler task. Read the release notes for the full set of changes.
spring-redis-data
1.1. New in Spring Data Redis 1.8
-
Upgrade to Jedis 2.9.
-
Upgrade to
Lettuce
4.2 (Note: Lettuce 4.2 requires Java 8). -
Support for Redis GEO commands.
-
Support for Geospatial Indexes using Spring Data Repository abstractions (see Geospatial Index).
-
MappingRedisConverter
basedHashMapper
implementation (see Hash mapping). -
Support for
PartialUpdate
in repository support (see Persisting Partial Updates). -
SSL support for connections to Redis cluster.
-
Support for
client name
viaConnectionFactory
when using Jedis.