fastify / website

https://fastify.dev/
MIT License
60 stars 61 forks source link

feat: Use Orama for searching. #102

Closed ShogunPanda closed 1 year ago

ShogunPanda commented 1 year ago

Description

This PR switches to Orama for searching.

Related Issues

Closes #28.

Check List

Eomm commented 1 year ago

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

LOL @mcollina

@ShogunPanda to solve it temporarly, could you please edit this line:

https://github.com/fastify/website-next/blob/90e034135eacb27c8fa85eb02b1bee76e13f62d3/scripts/build-website.sh#LL17C10-L17C10

to:

./scripts/download-releases.sh --major 4

So will will workaround the memory issue for now

ShogunPanda commented 1 year ago

Holy cow! Sure, I will.

ShogunPanda commented 1 year ago

@Eomm Done!

Eomm commented 1 year ago

Still OOM - will take a look locally 👍🏼

ShogunPanda commented 1 year ago

I'll look in the OOM issue today. About the UI at the moment there's no way to customize it as I'm just relying on the Algolia's widget UI. I'll try to add some opt-in today as well.

ShogunPanda commented 1 year ago

Hello all! I've update Orama plugin version, this solves OOM problem and even the index version selection. Moreover, I fixed few broken links.

Let me know if there is anything missing!

ShogunPanda commented 1 year ago

@Eomm Nice! On Mon I'll work on a PR to enable the feature!