Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 06:16:09 +01:00
forgejo/routers/web/user
6543 38c3cc4eb7
Patch in exact search for meilisearch (#29671)
meilisearch does not have an search option to contorl fuzzynes per query
right now:
 - https://github.com/meilisearch/meilisearch/issues/1192
 - https://github.com/orgs/meilisearch/discussions/377
 - https://github.com/meilisearch/meilisearch/discussions/1096

so we have to create a workaround by post-filter the search result in
gitea until this is addressed.

For future works I added an option in backend only atm, to enable
fuzzynes for issue indexer too.
And also refactored the code so the fuzzy option is equal in logic to
code indexer

---
*Sponsored by Kithara Software GmbH*
Conflicts:
	routers/web/repo/search.go
	trivial context confict s/isMatch/isFuzzy/
2024-03-11 23:37:00 +07:00
..
setting Fix 500 when deleting account with incorrect password or unsupported login type (#29579) 2024-03-11 23:36:59 +07:00
avatar.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
code.go Patch in exact search for meilisearch (#29671) 2024-03-11 23:37:00 +07:00
home.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
home_test.go Add an trailing slash to dashboard links (#29555) 2024-03-06 12:10:47 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
package.go Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
profile.go Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
search.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
stop_watch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
task.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00