ewalk153 / rails-es-demo

Toy application for elastic search on Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

A toy elastic search project.

Dependencies

  • Docker (or your favorite way to run elastic search)

First run elastic search

bin/elatic_search

Now import some data

bundle exec rake fake_data:create NUM=150

And now you can search

bin/rails s

# another window
open http://localhost:3000

Later you can reimport the data (if you're using an ephemeral ES clustic)

rake es:reload

About

Toy application for elastic search on Rails


Languages

Language:Ruby 75.3%Language:HTML 19.6%Language:JavaScript 3.0%Language:CSS 1.7%Language:Shell 0.3%