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 input bar by adding a search function at keyword "search/" #1

Open
cwbooth5 opened this issue Mar 1, 2021 · 2 comments
Assignees

Comments

@cwbooth5
Copy link
Owner

cwbooth5 commented Mar 1, 2021

When the user has go2 as a custom search engine, but they don't know which lists or links they're looking for, they should be able to perform a search of what's in the link database right from the URL bar. so:

go2 search/tacos

That would enter a search keyword and a term of "tacos", doing a full text search on all fields in lists and links. We'd also have to develop a new result page for the results.

@cwbooth5 cwbooth5 self-assigned this Mar 1, 2021
@cwbooth5
Copy link
Owner Author

There's a use case for a system where there are a bunch of places you want to search:

  • google
  • github
  • your wiki
    ..for example

And you want to continue to have go2 search/google/parameter

The problem here is if we still want to have go2 search/parameter, we need to change the behavior to be very special for this keyword.

If they enter go2 search/searchterm, we look for a tag on that list. If there, we treat it as an invalid search of whatever was tagged there (they left out the parameter).

If we don't have a tag for 'searchterm', we interpret that as an internal full-text search of the entire link database. That would include substring matches in:

  • Link titles
  • Link URLs
  • Keyword names
  • maybe ... link usage history? (probably not)

@cwbooth5
Copy link
Owner Author

It's easier just to have the front page search box be like a true search engine. It's less confusing.

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

No branches or pull requests

1 participant