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::Backends::Redis#ids

Returns the result ids for the allocation.

Developers wanting to program fast intersection
routines, can do so analogue to this in their own
backend implementations.

Note: We use the amount and offset hints to speed Redis up.

Source | Google | Stack overflow

Edit

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

cd picky

open server/lib/picky/backends/redis.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Picky--Backends--Redis-ids-for-pr


# Commit to git

git add server/lib/picky/backends/redis.rbgit commit -m "better docs for Picky::Backends::Redis#ids"


# 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--Backends--Redis-ids-for-pr

hub pull-request


# Celebrate!