Description
For example, searching api.dart.dev for Future
:
The results from the search dropdown list in the upper-right seem to be ordered by some heuristic for "relevance". The Future
class itself rightfully is the first result.
In contrast, the results from https://api.dart.dev/stable/2.19.2/search.html?q=future are in some other order that seems less sensible. Why is the order inconsistent? The link to the Future
class now is the third result.
Additionally, the search dropdown list shows snippets that provide more context, whereas the search results page is very bare.
Finally, I'll point out that despite claims of "27 results", there are not 27 results listed. I presume that it's counting multiple occurrences of the search term within each linked document, but this isn't what I'd expect from the Press "Enter" key to see all 27 results
message in the dropdown list.
(Note that isn't quite the same as #3176, which more about what the ideal search order should be.)