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#only
Restrict categories to the given ones. Functionally equivalent as if indexes didn't have the categories at all. Note: Probably only makes sense when an index is used in multiple searches. If not, why even have the categories? TODO Redesign.
Edit
git clone [email protected]:floere/picky.git
cd picky
open server/lib/picky/index.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Index-only-for-pr
# Commit to gitgit add server/lib/picky/index.rbgit commit -m "better docs for Picky::Index#only"
# 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-only-for-pr
hub pull-request
# Celebrate!