gatsby-starter-personal-blog
gatsby-starter-personal-blog copied to clipboard
Should send plain text to algolia for searching rather than send full markdown content
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)
I solved the same problem witha different approach. I used
excerpt(pruneLength: 5000)
instead of
internal { content }
in algolia query