Skip to content

alekmarinov/luasolr

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

luasolr

Lua to Apache Solr connection module

Provides minimalistic interface to solr enabling posting and quering data records

Install with LuaRocks

luarocks install solr

Example

solr = require "solr"
slr = solr.new("gettingstarted")
slr:post{id=1, text="solr rocks"}
docs = slr:query{q="text:solr"}.response.docs
print(docs[1].id) -- 1
slr:delete(1)

About

Lua to Apache Solr connection module

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages