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

Searching depends on the order of the searched words #42

Open
n7800 opened this issue Jul 13, 2023 · 2 comments
Open

Searching depends on the order of the searched words #42

n7800 opened this issue Jul 13, 2023 · 2 comments

Comments

@n7800
Copy link

n7800 commented Jul 13, 2023

There is a problem with the word order in the search. Perhaps it does not concern you, but GitLab itself:
https://gitlab.com/gitlab-org/gitlab/-/issues/414997#note_1426833558

@jeancroy
Copy link
Owner

jeancroy commented Jul 15, 2023 via email

@jeancroy
Copy link
Owner

It would not be very hard to split query into tokens (say by spaces)
Then score every entries against each tokens.
Then combine those in an appropriate way. (we can start with a sum of scores)

But experimentally path contain a lot of words and typing subsequences is often the fastest way to remove non interesting entries fast. It just requires some time to get used to it. Maybe you can add query as a whole and each score individually to get a compromise.

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