Skip to content

Rustdoc search ranking regression in 1.82 #133017

Closed
@dtolnay

Description

@dtolnay

Compare these two rankings:

In 1.81, std::io::Write shows up as number 5, after three functions called write in std::{fmt, fs, ptr} and after std::fmt::Write. These results look decent enough to me.

In 1.82, std::io::Write is at number 36, after things like <std::io::Stdout as std::io::Write>::write. I don't think there is any justification for <std::io::Stdout as std::io::Write>::write and std::io::Write::write to outrank std::io::Write when searching for "write".

The most recent nightly continues to be affected (https://doc.rust-lang.org/nightly/std/?search=write).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-bugCategory: This is a bug.P-criticalCritical priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions