DonSchado / elasticsearch-workshop

fully working example Ruby on Rails application, with elasticsearch integration (ES template)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elasticsearch Example

rake db:create && rake db:migrate

rake db:seed will generate about 1000 articles and index about 10000 documents


otherwise or in case of errors you can rebuild the index from the console:

  >> Article.__elasticsearch__.create_index! force: true
  => {"acknowledged"=>true}
  >> Article.import
  => 0
  >>

About

fully working example Ruby on Rails application, with elasticsearch integration (ES template)


Languages

Language:Ruby 91.0%Language:CSS 6.7%Language:JavaScript 2.3%