cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
schmee 2019-10-28T13:16:50.032900Z

is cljdoc down? 😮

martinklepsch 2019-10-28T13:21:22.033Z

looks like it! thanks for the ping, investigating 🙂

schmee 2019-10-28T13:22:58.033200Z

🙏

martinklepsch 2019-10-28T13:55:56.033400Z

fixed

🎉 1
borkdude 2019-10-28T20:28:35.034500Z

@martinklepsch any reason ElasticSearch isn't considered here? https://github.com/cljdoc/cljdoc/blob/master/doc/adr/0019-use-custom-search.md

martinklepsch 2019-10-28T20:41:27.035800Z

@borkdude I think we’ve considered it but running an extra process wasn’t worth what we would gain over plain Lucene

martinklepsch 2019-10-28T20:41:36.036Z

or so anyways 🙂

borkdude 2019-10-28T20:42:24.036200Z

ah ok

martinklepsch 2019-10-28T20:51:18.036900Z

Do you think ElasticSearch would be much easier/get us anything over Lucene as we use it now?

borkdude 2019-10-28T21:31:09.038Z

@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.

martinklepsch 2019-10-28T22:56:47.040900Z

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.

Jakub Holý 2019-10-29T09:36:43.041100Z

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

martinklepsch 2019-10-29T11:40:48.044Z

@borkdude fyi

borkdude 2019-10-29T11:42:15.044200Z

thanks!