Skip to content

dcrec1/lunr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Not-enterprise search platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published