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::Combinations#remove

Filters the tokens and categories such that categories
that are passed in, are removed.

Note: This method is not totally independent of the calculate_ids one.
Since identifiers are only nullified, we need to not include the
ids that have an associated identifier that is nil.

Source | Google | Stack overflow

Edit

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

cd picky

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Picky--Query--Combinations-remove-for-pr


# Commit to git

git add server/lib/picky/query/combinations.rbgit commit -m "better docs for Picky::Query::Combinations#remove"


# 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--Combinations-remove-for-pr

hub pull-request


# Celebrate!