1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/modules/indexer/code
6543 7fdc048153
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*
2024-03-09 01:39:27 +00:00
..
bleve Patch in exact search for meilisearch (#29671) 2024-03-09 01:39:27 +00:00
elasticsearch Patch in exact search for meilisearch (#29671) 2024-03-09 01:39:27 +00:00
internal Patch in exact search for meilisearch (#29671) 2024-03-09 01:39:27 +00:00
git.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
indexer_test.go Patch in exact search for meilisearch (#29671) 2024-03-09 01:39:27 +00:00
indexer.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
search.go Patch in exact search for meilisearch (#29671) 2024-03-09 01:39:27 +00:00