Skip to content

Commit

Permalink
feat(deprecated): add the attribute for faceting
Browse files Browse the repository at this point in the history
This allows it to be filtered on!

fixes #159
  • Loading branch information
Haroenv authored Mar 14, 2018
1 parent 8b20a77 commit 8214996
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 8214996

Please sign in to comment.