gatsby-starter-personal-blog icon indicating copy to clipboard operation
gatsby-starter-personal-blog copied to clipboard

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

Open IamHDT opened this issue 6 years ago • 1 comments

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)

IamHDT avatar Feb 11 '19 09:02 IamHDT

I solved the same problem witha different approach. I used

excerpt(pruneLength: 5000)

instead of

internal { content }

in algolia query

omerg avatar May 27 '19 15:05 omerg