A tiny full-text search engine by pure Ruby.
Installation
$ gem install sakuru
Usage
require "sakuru"
db = Sakuru::Database.new
db.add(file_path)
db.add(uri)
puts db.search(query)
db.save(output_path)
db.load(saved_file_path)
License
MIT License. See LICENSE.txt for details.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request