Redis based autocomplete using Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/com/rakeshxp
.gitignore
README

README

Redis based autocomplete in Java
===

Credits: Salvatore - http://antirez.com/post/autocomplete-with-redis.html

Dependency
===
1) Java Redis Client - http://github.com/xetorthio/jedis

Usage
===
Jedis redis = new Jedis("localhost", 6379);
URL url = new URL("http://antirez.com/misc/female-names.txt");
AutoComplete autoComplete = new AutoComplete.Builder(redis, "redisKey", url)
                                            .clear(true)
                                            .populate(true)
                                            .build();
List<String> results = autoComplete.complete("marcell", 10);