Not-enterprise search platform
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib/tasks
public
script
spec
vendor/plugins
.gitignore
README.textile
Rakefile
cucumber.yml

README.textile

EXAMPLE

jruby -S script/server

JSON

curl -X POST -H 'Content-type: application/json' -d "{'document':{'name':'Diego','lastname':'Carrion','lorem':'A little example with a lot of words, including che'}}" http://localhost:3000/documents.json

HTML

curl -X POST -d "document[html]=<html><head><title>my new blog</title></head><body><a>hellow world</a></body><html>&document[name]=My personal page" http://localhost:3000/documents.json

curl -X POST -d "document[url]=http://www.diegocarrion.com&document[title]=My blog" http://localhost:3000/documents.json

PDF

curl -X POST -F file=@/path/to/my/file.html http://localhost:3000/documents.json

curl http://localhost:3000/search/my%20query.json