Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Should send plain text to algolia for searching rather than send full markdown content #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IamHDT
Copy link

@IamHDT IamHDT commented Feb 11, 2019

I found no benefit to send fully content of markdown file as well as it can make the search engine confused about the content which the user wants to look up.

Also, many people experienced the issue with heavy data sending to Algolia, we should limit the number of characters to be sent (Read more at https://discourse.algolia.com/t/contact-us-if-you-need-an-extended-quota/2993)

Limit the number of characters sending to algolia
@omerg
Copy link

omerg commented May 27, 2019

I solved the same problem witha different approach. I used

excerpt(pruneLength: 5000)

instead of

internal { content }

in algolia query

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants