Les doigts carrés

Blog et astuces d'un développeur freelance full-stack, Ruby, Rails et frameworks Javascript

elastic search and Ruby on Rails example application

I realised I didn’t have any project I could show when people where asking if I knew how to use elastic search. I have just done a really small application to show what this tool has to offer.

Elastic Search is a powerfull solution for full text search that will propbably the best fit if your application needs to have good search capabilities.

If you need to implement a search page, this is fast, scalable and really easy to use and integrate with a Rails application.

If you need advises or you want to implement this kind of solution, you can send me an email and we will discuss your needs.

the code is on github: https://github.com/loicginoux/exampleelasticsearch

the demo application is visible on heroku: http://es-example.herokuapp.com/

It includes the following features:

  • Full text search

  • when searching, ajax updates of the list of products and highlights of the search key.

  • faceted filtering

  • pagination

And here are 2 screenshots of the app:

the defaut view:

screenshot 1

View after searching for the word “camera”:

screenshot 2

NB: This little application is just a demo, I didn’t tested as I probably won’t come back to it and don’t need to maintain the code in the future.

Loic Ginoux

Développeur freelance full-stack avec 9 ans d'expérience, spécialisé sur les applications web, e-commerce, Ruby on Rails et frameworks Javascript tels que React ou Angular.

Recevez mes astuces directement dans votre inbox

* champs obligatoire