Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nerddiffer/autocomplete_with_redis
- Owner: NerdDiffer
- License: isc
- Created: 2016-02-13T21:42:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T02:14:06.000Z (over 8 years ago)
- Last Synced: 2024-10-18T18:05:25.611Z (27 days ago)
- Language: Ruby
- Size: 24.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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')
```