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

Search results not the most relevant #19

Open
rbuzatu90 opened this issue Jun 2, 2020 · 2 comments
Open

Search results not the most relevant #19

rbuzatu90 opened this issue Jun 2, 2020 · 2 comments

Comments

@rbuzatu90
Copy link

Hi,

First thanks for this helpful tool.
Second, I feel that how the search is performed is not that great. Consider having the following 2 lines:
* ssh server target ServerAliveInterval=50 -o StrictHostKeyChecking=no jumper host
* dns nameserver dhcp start --gateway subnet
Now if you search by 'ssh' you will get the second line in first which shouldn't be the case since there's no 'ssh' word in it. Also if you search for 'ssh target' still it won't get the 1st line which contains both tokens 'ssh' and 'target' to be displayed on top. Any ideas ?

Also I'm willing to support this project!

@chipsenkbeil
Copy link
Owner

@rbuzatu90 , if you have another means of scoring in mind, I'm happy to have an alternative scoring method available that can be configured via an option if you'd like to give it a try.

I wouldn't want to make it the default and I wouldn't want to remove the current scoring as that would disrupt people already using the tool.

@Gleek
Copy link

Gleek commented Jul 25, 2020

The rules here might be of help. I've loosely followed them in a few web apps and found the experience much better. These also solve for the issue mentioned here.

http://jeremymikkola.com/posts/2019_03_19_rules_for_autocomplete.html

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

3 participants