-
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
Add advanced search filters #2636
Comments
I would like to work on this issue if no one else is working in it. |
@HBrock Word of warning: it's not a trivial fix. It is for database-related gallery, but for NuGet.org it's not. We are calling into the search service - more specifically https://github.com/NuGet/NuGet.Services.Metadata/blob/master/src/NuGet.Indexing/GalleryServiceImpl.cs, which currently does not support sorting. We are working on a transition to the V3 search service (the one VS2015 also uses - https://github.com/NuGet/NuGet.Services.Metadata/blob/master/src/NuGet.Indexing/ServiceImpl.cs), which would be a great prerequisite to have before venturing on supporting sorts in the gallery. Both search service implementations currently do not have sorting built in. The Lucene framework does support sorting when running a query, so the best starting point would probably be in https://github.com/NuGet/NuGet.Services.Metadata. |
Maybe I should start with a smaller task first |
That would be most welcome! |
@SQL-MisterMagoo wrote in #4124:
|
Related developercommunity feature suggestion: https://developercommunity.visualstudio.com/content/idea/583267/nuget-browser-have-sort-by-download-count.html |
+1 for this feature. In my scenario I use the API to find packages with a name containing a certain keyword and a simple alphabetical sort would be perfect because it’s predictable and consistent. I don’t care about “relevance” because it’s not predictable and a package might change position in a subsequent search. Again, in my scenario predictability and consistency are more important than “relevance”. |
I would love a sorting feature. I personally would love to see options for version sorting simply on the results, regardless of the Id. For instance, if I want to sort by latest version - I want to see all packages returned sorted by the latest version of that package. Something - v3.0.1 |
Mentioned by @donnie-msft on #7992:
Mentioned by @loic-sharma on #7992 (comment):
Mentioned by @joelverhagen on #7992 (comment)
|
+1 for having author/owner as additional search criterion. License could also be useful for folks. |
Closing since we release the feature. If there are ideas for additional improvements, please open a new issue. |
When user searching for a package at nuget.org the results sorted by relevance.
It would be nice to have an option to sort result by popularity and upload date.
For example chocolatey.org have that option. There is a "Sort By" dropdown on search results page with Relevance, Popularity, A-Z and Recent options.
The text was updated successfully, but these errors were encountered: