This is an example autocomplete app for elasticsearch_autocomplete gem
Clone repository and setup application:
git clone git://github.com/leschenko/example_elasticsearch_autocomplete.git
cd example_elasticsearch_autocomplete
bundle install
rake db:create
rake db:migrate
Setup autocomplete data and elasticsearch index:
rake autocomplete
Run server
bundle exec rails s
Visit http://localhost:3000
and try it!