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::Tokens#possible_combinations_in

Generates an array in the form of
[
 [combination],                           # of token 1
 [combination, combination, combination], # of token 2
 [combination, combination]               # of token 3
]

Source | Google | Stack overflow

Edit

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

cd picky

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Picky--Query--Tokens-possible_combinations_in-for-pr


# Commit to git

git add server/lib/picky/query/tokens.rbgit commit -m "better docs for Picky::Query::Tokens#possible_combinations_in"


# 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--Tokens-possible_combinations_in-for-pr

hub pull-request


# Celebrate!