From 7dbbc49a4e34e3cb561eff0a28f2635f07f5e1cc Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Tue, 9 Apr 2024 14:21:28 +0200 Subject: [PATCH] enhance(algolia): search explorer title first --- baker/algolia/configureAlgolia.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baker/algolia/configureAlgolia.ts b/baker/algolia/configureAlgolia.ts index 11e88f827d5..2a34c29bdd4 100644 --- a/baker/algolia/configureAlgolia.ts +++ b/baker/algolia/configureAlgolia.ts @@ -150,9 +150,9 @@ export const configureAlgolia = async () => { await explorerViewsIndex.setSettings({ ...baseSettings, searchableAttributes: [ + "unordered(explorerTitle)", "unordered(viewTitle)", "unordered(viewSettings)", - "unordered(explorerTitle)", ], customRanking: [ // For multiple explorer views with the same title, we want to avoid surfacing duplicates.