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::Index#key_format
Define a key_format on the index. Parameter is a method name to use on the key (e.g. :to_i, :to_s, :strip, :split). TODO Rename to id_format.
Edit
git clone [email protected]:floere/picky.git
cd picky
open server/lib/picky/index_indexing.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Index-key_format-for-pr
# Commit to gitgit add server/lib/picky/index_indexing.rbgit commit -m "better docs for Picky::Index#key_format"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Index-key_format-for-pr
hub pull-request
# Celebrate!