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::Bundle#add
Returns a reference to the array where the id has been added.
Does not add to realtime if static.
TODO What does static do again?
TODO Why the realtime index? Is it really necessary?
Not absolutely. It was for efficient deletion/replacement.Edit
git clone [email protected]:floere/picky.git
cd picky
open server/lib/picky/bundle_realtime.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Bundle-add-for-pr
# Commit to gitgit add server/lib/picky/bundle_realtime.rbgit commit -m "better docs for Picky::Bundle#add"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Bundle-add-for-pr
hub pull-request
# Celebrate!