Project

General

Profile

ActionsLike0

Bug #20722

closed

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

Added by masterleep2 (Bill Lipa) 7 months ago. Updated 5 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119121]

Description

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

  1. Gem::SafeMarshal::Elements::String
  2. Prism::StringFlags
  3. Prism::StringNode
  4. Reline::Terminfo::StringWithTiparm
  5. 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.

Not sure if this is the right place to report a doc website issue. Apologies if not.

Updated by p8 (Petrik de Heus) 7 months ago

You might have more luck reporting this at the RDoc repository:
https://github.com/ruby/rdoc

Updated by masterleep2 (Bill Lipa) 5 months ago

I have reported it here:
https://github.com/ruby/rdoc/issues/1194

This one can probably be closed.

ActionsLike0

Also available in: Atom PDF