Follow: * https://github.com/go-gitea/gitea/pull/15028 TODO: * [x] Optimize the performance. should have been improved by #21368 * [x] ~~Use a config option to disable this feature if some users do not like it.~~ not needed anymore. * [x] Use weighted algorithm for string matching. https://github.com/go-gitea/gitea/pull/21370 * When a user searches `word`, they may want to see `/{word}.txt` before `/{w}e-g{o}t-{r}esult.{d}at`
Follow:
TODO:
Use a config option to disable this feature if some users do not like it.not needed anymore.word, they may want to see/{word}.txtbefore/{w}e-g{o}t-{r}esult.{d}at