algolia / algolia/jekyll-algolia

All custom front matter fields are getting removed during record extraction

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

Description

Spent the last few hours with debugging.
Still don't understand what this row is for but it removes all the custom document meta datas from the records.

https://github.com/algolia/jekyll-algolia/blob/a79e8b4397b6fb6bce471d6fdaac8b29e422f6fa/lib/jekyll/algolia/extractor.rb#L36

What am I doing wrong?

Contributor guide

Open the contributing guide

Research direction

Start in lib/jekyll/algolia/extractor.rb at the linked line and inspect how records are extracted. Reproduce the issue with a document containing custom front matter fields; done means those fields remain available in the extracted records.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll, ruby
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.