Searching for files in the repository depends on the order of the searched words
Summary
Searching for files in a repository does not show all files.
Steps to reproduce
- Click button
Find file
- Type
res vi
. You will see in the first line the file:ide/searchresultview.pp
.
- Continue to type
sear
(to getres vi sear
). This file will disappear from the list even though it contains that word.
- At the same time, the file will reappear if you change the word order
What is the current bug behavior?
A file that includes all of the searched words in its name does not appear in the results.
What is the expected correct behavior?
I understand that a "smart" search is being used, but it should expand the number of results (or reorder), not decrease them.
Output of checks
This bug happens on GitLab.com