shin10kudev / algo-app

Ruby on Rails project for sharing and discovering solutions to algorithm problems
1 stars 0 forks source link

Improve search #46

Open shin10kudev opened 7 years ago

shin10kudev commented 7 years ago
screen shot 2017-01-18 at 10 52 28 screen shot 2017-01-18 at 10 52 36

search currently looks for exact or partial match.

'bubblesort' and 'bubble sort' should return 'bubble sort'

shin10kudev commented 7 years ago

Seems like implementing elastic search should be an easy solution:

https://www.sitepoint.com/full-text-search-rails-elasticsearch/