fix: breaking changes with meili (#5073)

resolves breaking changes introduced in #5058

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5073
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
This commit is contained in:
Shiny Nematoda 2024-08-22 19:38:00 +00:00 committed by Gusted
parent 3dbeafa7ba
commit d48b936126
3 changed files with 3 additions and 16 deletions

View file

@ -238,7 +238,7 @@ func (b *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (
Limit: int64(limit),
Offset: int64(skip),
Sort: sortBy,
MatchingStrategy: "all",
MatchingStrategy: meilisearch.All,
})
if err != nil {
return nil, err