Lightweight gem for document retrieval using tf-idf based algorithms for Ruby on Rails applications