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

Store bangs relevance in plugin #2

Open
foo-dogsquared opened this issue Apr 27, 2022 · 0 comments
Open

Store bangs relevance in plugin #2

foo-dogsquared opened this issue Apr 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@foo-dogsquared
Copy link
Owner

While the bangs database from Duckduckgo has the ranking stored in the r key, it is better to assume that all databases have no rankings. UX-wise, it makes sense to make our plugin store the rankings especially if #1 is implemented where there is no relevance stored in the database.

Possible implementations:

  • Modify the bangs database to store the ranking.
    This is the last preference to implement. It can be slow and can be interrupting to the database.

  • Store in a separate file.
    Maybe in a JSON file, RON file, or even a simple plain-text file similar to ~/.bash_history.

@foo-dogsquared foo-dogsquared added the enhancement New feature or request label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant