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

improve search #4

Open
todo bot opened this issue Mar 25, 2020 · 4 comments
Open

improve search #4

todo bot opened this issue Mar 25, 2020 · 4 comments
Assignees

Comments

@todo
Copy link

todo bot commented Mar 25, 2020

// todo: improve search
if (Array.isArray(req.query.term)) {
wildcard = ""
req.query.term.forEach(function(term) {


This issue was generated by todo based on a todo comment in 7a294b1. It's been assigned to @twodayslate because they committed the code.
@todo todo bot added the todo 🗒️ label Mar 25, 2020
@twodayslate
Copy link
Owner

twodayslate commented Mar 25, 2020

Searching by release date would be great. Generally only want packages that have been updated within the last X months or Y years

Other search filters:

  • Releases only
  • Release date
  • Repository updated date
  • tools-version
  • package type (library, executable)
  • repo archived
  • fork status

The following libraries may be of help:

@twodayslate
Copy link
Owner

The /search page should have a drop down arrow or similar under the search box to show advanced search options. When when editing/adding filters it should edit the search text so the user knows the advanced search commands

@twodayslate
Copy link
Owner

nepsilon/search-query-parser#31 has been merged which may assist with this issue

@twodayslate
Copy link
Owner

Since this is 2+ years old there may be newer libraries that can help with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant