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::Query::Token#predefined_categories

Translates this token's qualifiers into actual categories.

Note: If this is not done, there is no mapping.
Note: predefined is an Array of mapped categories.

TODO Do we really need to set the predefined categories on the token?

Source | Google | Stack overflow

Edit

git clone [email protected]:floere/picky.git

cd picky

open server/lib/picky/query/token.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Picky--Query--Token-predefined_categories-for-pr


# Commit to git

git add server/lib/picky/query/token.rbgit commit -m "better docs for Picky::Query::Token#predefined_categories"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Picky--Query--Token-predefined_categories-for-pr

hub pull-request


# Celebrate!