forked from gitea/gitea
1
0
Fork 0
gitea/modules/indexer/issues
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
db remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01: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
meilisearch Patch in exact search for meilisearch (#29671) 2024-03-09 01:39:27 +00:00
dboptions.go Include public repos in doer's dashboard for issue search (#28304) 2023-12-07 13:26:18 +08:00
indexer.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
indexer_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
util.go Improve retrying index issues (#27554) 2023-10-15 18:56:57 +00:00