- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.2k
Change the code search to sort results by relevance #32134
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
Conversation
| And I found it's wired when using fuzzy search with bleve. Some fuzzy results' scores bigger than exact match results' . So is there an sort option so that exact match will be always before fuzzy results? | 
Signed-off-by: Bruno Sofiato <[email protected]>
| 
 Hey @lunny , I can take a look into it. I'm not familiar with bleve, but I'm gonna check !! Off the top of my head, we can do an  BTW, I'm working on #32096 and I had to rework the query. Maybe I can enhance it further to boost the score of exact matches there. What do you think ? | 
daa6451    to
    d183f1a      
    Compare
  
    | I think that can be improved in other PR when implementing advanced search queries | 
* giteaofficial/main: Change the code search to sort results by relevance (go-gitea#32134) [skip ci] Updated translations via Crowdin Add pure SSH LFS support (go-gitea#31516)
Resolves #32129