Skip to content

[rustdoc] Docs search gives overly narrow results #75430

Closed
@Lokathor

Description

@Lokathor

When searching through a crate using generated docs, the search doesn't show the correct results. Specifically, if you go to a page such as this one we can see that there are many many functions with mul_ as part of their name. And yet, when you change mul to mul_ in the search box, the results are filtered to only 6 results.

On top of that, four of the six results don't even actually contain the string mul_ in their name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-bugCategory: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcE-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions