Redis autocomplete demo using ZRANGEBYLEX command. Autocomplete data was composed from 37000+ word definitions started from 'a', 'b' and 'c' letters taken from The Online Plain Text English Dictionary as autocompletion dictionary.
Based on antirez/search.php.
git clone https://github.com/angyvolin/redis-autocomplete-demo.git
composer install
composer fixtures
composer run
REDIS_URL='redis://localhost:6379' composer run
or
REDIS_URL='redis://user:pass@localhost:6379' composer run