Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nerddiffer/autocomplete_with_redis

Using Redis for an autocompletion dictionary
https://github.com/nerddiffer/autocomplete_with_redis

Last synced: 14 days ago
JSON representation

Using Redis for an autocompletion dictionary

Awesome Lists containing this project

README

        

# Autocomplete With Redis

This repo is based off the code in
[this blog post](http://oldblog.antirez.com/post/autocomplete-with-redis.html),
by the creator of Redis, Salvatore Sanfilippo.

## Usage

```ruby
dict = Dictionary.new('foo')
dict.refresh
dict.search('ab')
```