Skip to content

curious search result order on docs.ruby-lang.org #1194

Open
@wlipa

Description

@wlipa

If you search for "String" on https://docs.ruby-lang.org/en/3.3/ the first four results returned are obscure:

Gem::SafeMarshal::Elements::String
Prism::StringFlags
Prism::StringNode
Reline::Terminfo::StringWithTiparm
String

Would it be possible to change it so that if one types an exact class name, the class of that name is first on the list? This would make it easier to use the search feature. More generally, the prioritization of these results is surprising.

I reported this at https://bugs.ruby-lang.org/issues/20722 and was directed here. Apologies if this is the wrong place.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions