metacpan / metacpan-api

A free, open API for everything you want to know about CPAN
http://www.metacpan.org/
Other
289 stars 196 forks source link

search: give higher precedence to module names #921

Open karenetheridge opened 5 years ago

karenetheridge commented 5 years ago

I searched for "correlate", hoping to find the module DBIx::Class::Helper::ResultSet::CorrelateRelationship (whose name I could not remember exactly). The search results did not return that module in the first page of results, even though there are only six indexed modules with "Correlate" in the name.

karenetheridge commented 5 years ago

Similarly -- a search for "pod::markdown" (lower-cased) did not give Pod::Markdown as the first result, but instead Markdown::Pod -- which caused a few minutes of confusion when I clicked the link and did not find the documentation I expected!

https://www.dropbox.com/s/z4riejf13espbpz/Screenshot%202019-08-06%2013.05.30.png?dl=0