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::Search#searching

Defines tokenizer options or the tokenizer itself.

Examples:
  search = Search.new(index1, index2, index3) do
    searching removes_characters: /[^a-z]/,
              # etc.
  end

  search = Search.new(index1, index2, index3) do
    searching MyTokenizerThatRespondsToTheMethodTokenize.new
  end

Source | Google | Stack overflow

Edit

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

cd picky

open server/lib/picky/search.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Picky--Search-searching-for-pr


# Commit to git

git add server/lib/picky/search.rbgit commit -m "better docs for Picky::Search#searching"


# 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--Search-searching-for-pr

hub pull-request


# Celebrate!