Skip to content

Search relevance issue for Learn articles after new Orama components #8347

@efekrskl

Description

@efekrskl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions