picky
https://github.com/floere/picky
HTML
Picky is an easy to use and fast Ruby semantic search engine that helps your users find what they are looking for.
Picky::Backends::Rust#create_inverted
Returns an object that on #initial, #load returns an object that responds to: object[:token] # => [id, id, id, id, id] (an array of ids)
Edit
git clone [email protected]:floere/picky.git
cd picky
open indexes/lib/picky-indexes/backends/rust.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Backends--Rust-create_inverted-for-pr
# Commit to gitgit add indexes/lib/picky-indexes/backends/rust.rbgit commit -m "better docs for Picky::Backends::Rust#create_inverted"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Backends--Rust-create_inverted-for-pr
hub pull-request
# Celebrate!