algolia / algolia/jekyll-algolia

Default Values For Faceting

Open
#122 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
211
Forks
35
PR merge metrics
No merged PRs in 30d

Description

I set default layout values for collection documents in my `_config.yml` file. I also want to use layout as an attribute for faceting. I used to be able to do this—However, I recently upgraded to the latest version of the gem (1.4.11) and this seems to no longer work. Looking at the dashboard in Algolia under facets—it says that layout is an unknown attribute.

Any thoughts on how I can add layout as an attribute for faceting?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with the reported Jekyll _config.yml defaults and gem version 1.4.11, then trace how the layout value is sent to Algolia and recognized as a facet. Done means layout is accepted as a faceting attribute again, or the supported configuration and limitation are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll, ruby
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.