Search relevance issue for Learn articles after new Orama components
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:
Now it is the fourth item, even if I explicitly select "Learn"
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)
Thanks! We probably just need to change some weightings around
@avivkeller I confirm we should tweak the boosting params. Let's discuss that when you got time
Bump @micheleriva / @avivkeller
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
Can I join the meeting tomorrow to address this?
Absolutely!
@avivkeller meeting is open or do we need to invite Michele?