Hacker News new | ask | show | jobs
by erk__ 618 days ago
I have been using Tantivy for Garfield comic search for a few years now, it has been really nice to use in all that time.
1 comments

I'm simultaneously intrigued and thinking this is a funny joke at the same time. If this isn't a joke, I would love an example.
Luckily it is not a joke!

Its been about I have had running in some capacity for some years by now through a couple of rewrites. At some point Discord added "auto-complete" for commands, this meant that I can do a live lookup and give users a list of comics where some piece of text is.

My index is a bit out of date, but comics before September last year can be searched up.

The search index lives fully in memory as it is not that big since it is only 17363 comics. This does mean that it is rebuilt every startup, but that does not take long compared to the month long uptime it usually has.

Example of a search for "funny joke": https://imgur.com/a/J4sRhPJ

Hosted bot: https://discord.com/application-directory/404364579645292564

Source code: https://git.sr.ht/~erk/lasagna