algolia / algolia/jekyll-algolia

Question: Change the content's size around a matched keyword

Open
#117 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

How can I limit the number of words before and after a matched keyword. Using the docs, I tried using
```
settings:
attributesToSnippet: ['*:33']
```
but it did not work.

Contributor guide

Open the contributing guide

Research direction

Start with the documentation for attributesToSnippet and the shown settings block, then trace how that setting is read by the search integration. Confirm whether the configuration is supported and document or correct the behavior so the requested word limit around matched keywords is demonstrably applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.