Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search: show number of hits for the search term used #428

Open
plaindocs opened this issue Nov 11, 2024 · 3 comments
Open

Search: show number of hits for the search term used #428

plaindocs opened this issue Nov 11, 2024 · 3 comments
Assignees
Labels
Improvement Minor improvement to code

Comments

@plaindocs
Copy link

What's the problem this feature will solve?

Seeing how many hits there are for a term can give me information on how good a match is or whether I'm on the right or wrong track.

Describe the solution you'd like

A straight up X total hits above the search result would do it

@humitos
Copy link
Member

humitos commented Nov 11, 2024

I think this is already implemented in the new dashboard:

Screenshot_2024-11-11_13-11-55

Is this what you are looking for?

@plaindocs
Copy link
Author

plaindocs commented Nov 11, 2024

Ah no, I want the number of results as a user, on each search, in this view

image

@humitos
Copy link
Member

humitos commented Nov 11, 2024

Ah, OK. The API response doesn't return that number explicitly, but I suppose we can just calculate the length of the list of results retrieved. I'll move this issue to addons, since it's more a frontend issue than a backend one.

@humitos humitos transferred this issue from readthedocs/readthedocs.org Nov 11, 2024
@humitos humitos changed the title I'd like to see acount of search results Search: show number of hits for the search term used Nov 11, 2024
@humitos humitos added the Improvement Minor improvement to code label Nov 11, 2024
@github-project-automation github-project-automation bot moved this to Planned in 📍Roadmap Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code
Projects
Status: Planned
Development

No branches or pull requests

3 participants