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::Categories#possible_for
Returns possible Combinations for the token. Note: The preselected_categories param is an optimization. Note: Returns [] if no categories matched (will produce no result).
Edit
git clone [email protected]:floere/picky.git
cd picky
open server/lib/picky/categories_indexed.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Categories-possible_for-for-pr
# Commit to gitgit add server/lib/picky/categories_indexed.rbgit commit -m "better docs for Picky::Categories#possible_for"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Categories-possible_for-for-pr
hub pull-request
# Celebrate!