Skip to content

[rustdoc] Search results: Make fuzzy search less wild for small words #82131

Closed
@ojeda

Description

@ojeda

Fuzzy search is matching too many things [*], e.g.:

  • FRom due to FRee
  • REm due to fREe

It could be improved restricting matches for small words, e.g. for words < 4 in size, match only if 3 characters or more match.

[*]
image

Metadata

Metadata

Assignees

Labels

A-rustdoc-searchArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-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