From 82149963942020632446338bbc49dd83fa56a31c Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Wed, 14 Mar 2018 09:38:40 +0100 Subject: [PATCH] feat(deprecated): add the attribute for faceting This allows it to be filtered on! fixes #159 --- src/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.js b/src/config.js index 5f98463ca..3f506446e 100644 --- a/src/config.js +++ b/src/config.js @@ -28,6 +28,7 @@ const defaultConfig = { 'filterOnly(concatenatedName)' /* optionalFacetFilters to boost the name */, 'searchable(keywords)', 'searchable(owner.name)', + 'deprecated', ], customRanking: ['desc(downloadsLast30Days)'], disablePrefixOnAttributes: ['keywords', 'owner.name', 'owners.name'],