Permalink
Browse files

Support versions of lucene earlier than 3.0.

  • Loading branch information...
technomancy committed Jul 4, 2011
1 parent 9b91453 commit 5b03fd6e7c7c492b7aefb053b1b283b0cab8bb54
Showing with 7 additions and 3 deletions.
  1. +6 −2 project.clj
  2. +1 −1 src/clucy/core.clj
View
@@ -1,6 +1,10 @@
-(defproject clucy "0.2.1"
+(defproject clucy "0.2.2"
:description "A Clojure interface to the Lucene search engine"
:url "http://github/weavejester/clucy"
:dependencies [[org.clojure/clojure "1.2.1"]
[org.apache.lucene/lucene-core "3.0.3"]
- [org.apache.lucene/lucene-highlighter "3.0.3"]])
+ [org.apache.lucene/lucene-highlighter "3.0.3"]]
+ :dev-dependencies [[lein-multi "1.1.0-SNAPSHOT"]]
+ :multi-deps {"lucene2" [[org.clojure/clojure "1.2.1"]
+ [org.apache.lucene/lucene-core "2.9.2"]
+ [org.apache.lucene/lucene-highlighter "2.9.2"]]})
View
@@ -11,7 +11,7 @@
(org.apache.lucene.store NIOFSDirectory RAMDirectory)
(org.apache.lucene.util Version)))
-(def *version* Version/LUCENE_30)
+(def *version* Version/LUCENE_CURRENT)
(def *analyzer* (StandardAnalyzer. *version*))
(def *optimize-frequency* 1)

0 comments on commit 5b03fd6

Please sign in to comment.