https://docs.ruby-lang.org/en/master/
If I want to look at docs for class Hash and search for it exactly, it's the 29th result (if I didn't misscount). That is probably because of #1433, it priotizes exact method matches and there are many classes that defined custom hash. The same is true when searching for the String class, there are quite a few string methods that take precedence.
I don't know if the "solution" would be to prioritize exact classes even before exact methods. When searching for Integer, the Integer method comes before the integer class, so maybe? I don't think that method is what users are looking for.
Probably the whole search logic needs a rework tbh, it never felt "quite right". At the moment it is very unfortunate that such common classes are buried so far down in the search results.