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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weighted trie #209

Open
marcoscaceres opened this issue Jun 10, 2021 · 3 comments
Open

Weighted trie #209

marcoscaceres opened this issue Jun 10, 2021 · 3 comments

Comments

@marcoscaceres
Copy link
Collaborator

We should look at using a weighted trie for the searches based on most commonly searched for...

As a bonus, we could show the most popular searches :) .... or the "term of the day" of the day 馃樄

@marcoscaceres
Copy link
Collaborator Author

A more serious use case... I was trying to find all instances of "* task source", but the drop down was kinda unhelpful... there should be a way to just say, "show me everything that matches this! I don't care about exact match."

@sidvishnoi
Copy link
Member

I was trying to find all instances of "* task source", but the drop down was kinda unhelpful... there should be a way to just say, "show me everything that matches this! I don't care about exact match."

Have you tried using https://respec.org/xref/filter/? It's meant for such advanced usage. Running following query will get you what you need:

term.endsWith(" task source")

@marcoscaceres
Copy link
Collaborator Author

That鈥檚 overkill. I just want to look up stuff to see the type quickly(ie, be in and out in 5 seconds), not write queries.

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

2 participants