Skip to content

lancepantz/clojure-solr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clojure-solr

Clojure bindings for Apache Solr.

Installation

To use within a Leiningen project, add the following to your project.clj file:

[clojure-solr "0.2.0-SNAPSHOT"]

To build from source, run:

lein deps
lein jar

Usage

(with-connection (connect "http://127.0.0.1:8983/solr")
  (add-document! {"id" "testdoc", "name" "A Test Document"})
  (add-documents! [{"id" "testdoc.2", "name" "Another test"}
                               {"id" "testdoc.3", "name" "a final test"}])
  (commit!)
  (search "test")
  (search "test" :rows 2))

About

solr bindings for clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%