This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-28
Channels
- # announcements (2)
- # babashka (16)
- # bangalore-clj (1)
- # beginners (93)
- # boot (11)
- # calva (5)
- # cider (13)
- # clj-kondo (49)
- # cljdoc (14)
- # cljs-dev (1)
- # clojure (99)
- # clojure-dev (3)
- # clojure-europe (1)
- # clojure-india (1)
- # clojure-italy (9)
- # clojure-nl (3)
- # clojure-poland (1)
- # clojure-russia (1)
- # clojure-spec (31)
- # clojure-uk (21)
- # clojured (2)
- # clojurescript (18)
- # core-async (12)
- # cursive (36)
- # data-science (1)
- # datomic (54)
- # duct (3)
- # emacs (33)
- # events (1)
- # fulcro (17)
- # jobs (1)
- # joker (8)
- # keechma (1)
- # leiningen (7)
- # malli (8)
- # nrepl (19)
- # pathom (6)
- # planck (18)
- # re-frame (20)
- # reagent (18)
- # shadow-cljs (3)
- # sql (7)
- # vim (31)
looks like it! thanks for the ping, investigating đ
@martinklepsch any reason ElasticSearch isn't considered here? https://github.com/cljdoc/cljdoc/blob/master/doc/adr/0019-use-custom-search.md
@borkdude I think weâve considered it but running an extra process wasnât worth what we would gain over plain Lucene
or so anyways đ
Do you think ElasticSearch would be much easier/get us anything over Lucene as we use it now?
@martinklepsch ElasticSearch provides a convenient layer over Lucene with a REST API. It depends what you want I guess. If you throw JSON at ES you already can get a long way without much config maybe. But Lucene may work good as well. Just wanted to hear your thought on this.
Yeah I think given cljdocâs single node âarchitectureâ we didnât really need that REST API and a Java API might actually be easier to deal with. That said it could totally be that some things would be easier with ElasticSearch. I remember that one thing @holyjak was looking into was adjusting the search so that results are ordered by download count and that isnât completely straightforward. Not sure if it would be easier with ES though.
I do not see much gain in using ES. It is still Lucene underneath though you talk to it differently and there are perhaps some conveniencesâŚ. But I know little about it. The download count inclusion is a work in progress, the trouble is setting weights correctly so that it has just the right effect. See https://github.com/cljdoc/cljdoc/pull/359