Open kinghuang opened 3 years ago
@kinghuang this is amazing feedback! I appreciate the amount of detail here–it makes it really easy to iterate and improve search.
I just pushed a change that implements most of your #1 and #3 implementation ideas. Let me know what you think. Will also continue making improvements over the rest of the day. Would you be up for doing another pass early next week?
What's clear is that within the API docs, we need to prioritize ranking classes and functions matches above argument name matches.
Here's what searching for "Partitions" gives now:
"PartitionSetDefinition":
"Materializer":
Awesome. That was fast! 😄
I just tried it out. The groupings and the replacement of the former "Section" text are huge improvements. I agree that priority ranking of the API results by a hierarchy like module, class, function/method, attribute would be great. The same idea would probably help the other areas, too (e.g., headings then paragraphs).
I'll be heavy on Dagster related stuff at work this week and next week. So, I'm definitely up for another pass on the docs next week. Thanks!
Use Case
I find it really hard to search for things and discover/understand what the search results are offering when using the Dagster Docs site quick search. The general text search across all the docs delivers poor search results.
Example 1: partitions
Results:
Screenshot:
Example 2: PartitionSetDefinition
PartitionSetDefintion
class.Results:
dagster.repository
decorator.PartitionSetDefinition
class specifically. Search result 4 is the closest, being on the same page. But, it's impossible to tell from what's shown.PartitionSetDefinition
(e.g., listing out argument types), and don't really contribute to the search.Screenshot:
Example 3: materializer
Results:
Screenshot:
Ideas of Implementation
In no particular order:
Additional Info
This was a problem on the old docs site, too.
Message from the maintainers:
Excited about this feature? Give it a :thumbsup:. We factor engagement into prioritization.