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.similar_character=
Define a character which makes a token a similar token.
Default is '~'.
This is used in a regexp (%r{#{char}\z}) for String#=~,
so escape the character.
Example:
Picky::Query::Token.similar_character = '\?'
try.search("tost?") # Will find "test".Edit
git clone [email protected]:floere/picky.git
cd picky
open server/lib/picky/query/token.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Query--Token-similar_character--for-pr
# Commit to gitgit add server/lib/picky/query/token.rbgit commit -m "better docs for Picky::Query::Token.similar_character="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Query--Token-similar_character--for-pr
hub pull-request
# Celebrate!