tonini / picky

Small-Text Search Engine (great if you have mainly non-full text, e.g. tables with varchar/number data)

Home Page:floere.github.com/picky

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Picky

The combinatorial small-text search engine.

Take a dive with Picky in the Getting Started section.
Fine everything else in the Picky Wiki.

Installation

Note that Picky only runs on Ruby 1.9. I recommend RVM for installing and managing Ruby versions.

gem install picky picky-client

The server

The server generates a library example, which you can run right away.

# Generates a directory "app_name"
# with a new Picky project.

picky project app_name
cd app_name
bundle install

Index the data

rake index

Start the Picky server

rake start

Try a query!

curl localhost:8080/books/full?query=test

Don’t worry about the strange looking results! The next part (client) will take care of them.

If you’re interested anyway: Results

The client

The client generates an example app for the “library” example backend, using Sinatra.

# Generates a directory "app_name"
# with a new Picky Client Webapp project.

picky-client sinatra app_name
cd app_name
bundle install

Start the app server

unicorn -p 3000

Admire your work

Go to http://localhost:3000/ and try the examples.

Your own search

You’re probably itching to change the example for your own data. How do you do this?

The server

In the server directory, just type

rake

and it will tell you where to change the server configuration.

The client

Go to http://localhost:3000/configure and the page will show you how to configure your app server.

Need help?

Right here. I’m happy to help! If something doesn’t work, send/gist me your application.rb and I’ll look into it.

github, twitter, mail

About

Small-Text Search Engine (great if you have mainly non-full text, e.g. tables with varchar/number data)

floere.github.com/picky

License:Other


Languages

Language:Ruby 85.8%Language:JavaScript 13.6%Language:C 0.6%