Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Fix ranking of search results. fixes #1922

Mohamed Bassem3bae3aad9a62
diff --git a/packages/plugins-search-meilisearch/src/index.ts b/packages/plugins-search-meilisearch/src/index.ts
index f0040db7..d54fb6bc 100644
--- a/packages/plugins-search-meilisearch/src/index.ts
+++ b/packages/plugins-search-meilisearch/src/index.ts
@@ -32,6 +32,8 @@ class MeiliSearchIndexClient implements SearchIndexClient {
limit: options.limit,
offset: options.offset,
sort: options.sort,
+ attributesToRetrieve: ["id"],
+ showRankingScore: true,
});
return {