-
Notifications
You must be signed in to change notification settings - Fork 644
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
Allow control of Sorting when searching on the V3 search API #7992
Comments
Cost-wise, it seems this feature would be similar to the package type filter feature. We would need to update:
We should figure out the sortable fields we'd like as some are easier than others. For example, it was suggested here that we support sorting by number of dependents. This information isn't in search today and would need to be added. In case you're interested, you can find the search index definition here. I would suggest we start with easy things like sort by "relevance", "downloads", "newest package", and "latest updated".
Could you explain this a little bit more? How would the client handle two sources, one which supports ordering and another that does not? |
This has been a long time ask from customers. The pre-existing issue is here: #2636. It reads as specific to nuget.org but the implementation would have to go as deep as the search service and therefore be low hanging fruit for V3 API addition. Let's merge this issue into the existing one and include the information mentioned here. It's clearer for users if there's a single issue to upvote and provide comments on. It's really one feature, which multiple stages/entry points. When we implement it for nuget.org, we will consider both how it works on the website as well as how it is shaped in the V3 API (which PM UI would call). Regarding the sorting, if you can detect that all sources support sorting (perhaps a new search |
Re-opening since the pre-existing issue was implemented without updating the official V3 API (which PM UI could leverage). |
Is your feature request related to a problem? Please describe.
NuGet Client request to allow sorting on the Browse tab will require Server changes as well.
Describe the solution you'd like
What changes would be necessary on Server to handle such a feature? Perhaps it should be limited to a single source?
Additional context
NuGet/Home#2585
The text was updated successfully, but these errors were encountered: