Skip to content

Commit

Permalink
🔥 Heroku 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
devn committed May 23, 2013
1 parent b38626a commit fcd84ca
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/getclojure/search.clj
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,7 @@
lowercased-query (string/lower-case query)]
(esd/search "getclojure"
"sexp"
:query (q/dis-max :queries [(q/term :input query
:boost 2.0)
(q/term :input lowercased-query
:boost 2.0)
(q/term :output query)
(q/term :output lowercased-query)
(q/term :value query)
(q/term :value lowercased-query)])
:query (q/term :input [query lowercased-query])
:from offset
:size 25)))

Expand Down

0 comments on commit fcd84ca

Please sign in to comment.