nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

Search relevance issue for Learn articles after new Orama components

Open efekrskl opened this issue 2 months ago • 2 comments

Enter your suggestions in details:

The new Orama components are great, and definitely an improvement. But the search needs some tweaking. I originally brought this up in #8175 but the PR is already merged. So I wanted to track it separately.

Issue

Previously, when searching for Learn pages like Memory or ABI Stability, the main article would appear as the first result. Now, the top results are often subarticles or passings in other docs, and the main Learn article is buried even when explicitly selecting "Learn"

Examples

Searching for the Memory article (nodejs.org/en/learn/diagnostics/memory) would bring up the article as the first result with the previous implementation: Image

Now it is the fourth item, even if I explicitly select "Learn" Image

Another example for ABI Stability (https://nodejs.org/en/learn/modules/abi-stability). The main article is buried deep by default, and if I select Learn then it is the second item (main article appears below its own subarticle)

Image

efekrskl avatar Nov 10 '25 17:11 efekrskl

Thanks! We probably just need to change some weightings around

avivkeller avatar Nov 10 '25 18:11 avivkeller

@avivkeller I confirm we should tweak the boosting params. Let's discuss that when you got time

micheleriva avatar Nov 20 '25 16:11 micheleriva

Bump @micheleriva / @avivkeller

ovflowd avatar Dec 21 '25 22:12 ovflowd

Yes, apologies for the delay here, I didn't realize y'all were waiting for my response. @micheleriva I'm available whenever you are. We have a Node.js Monthly Web Meeting tomorrow (https://github.com/nodejs/web-team/issues/79), but feel free to DM me on Slack to find a time that works for you

avivkeller avatar Dec 21 '25 22:12 avivkeller

Can I join the meeting tomorrow to address this?

micheleriva avatar Dec 21 '25 22:12 micheleriva

Absolutely!

ovflowd avatar Dec 21 '25 23:12 ovflowd

@avivkeller meeting is open or do we need to invite Michele?

ovflowd avatar Dec 21 '25 23:12 ovflowd