-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating the Algolia search index: Record is too big #388
Comments
Hi @MakisH, I've started to investigate this issue and so far I can say this: Let's take the second document, dev-publications.md, as an example. A search record is an HTML block of the rendered document dev-docs-publication-strategy.html. In this particular case the record is the Because we have syntax highlighting enabled, the rendered code consists of lots of This change was introduced in d926e2c last week. The easiest fix is to break up the code block? I don't see how code blocks could be broken up into smaller pieces. (I've also found this page in the Algolia docs suggesting that some (newer) plans allow bigger records >10kB.) |
Thanks for investigating! If we ignore this file, do we get several more instances? If this is the only instance, then the easiest would be to move this code to a file in some repository, or just disable the syntax highlighting. What would be more interesting to me is if anything bigger changed recently, which now affects several files. |
The open-source plan could be a solution, see also #237 |
Today, I requested getting access to the "Algolia for Open Source" plan via the on-platform "contact sales" feature. Waiting for an answer. Edit: I got an answer three days later, forwarding to a form, which also needed some usage details. On August 29, I submitted the form, requesting 20k records (we currently have 8.36k). |
Update: we got the open-source plan |
Trying to update our Algolia search index, I got the following error:
Log: jekyll-algolia-record-too-big.log (9.98 Kb, on the 10 Kb limit)
Trying to reduce the size of the (borderline)
adapters-overview.html
, I get the same issue with another file: jekyll-algolia-record-too-big.log (17.59 Kb, over the 10 Kb limit, corresponding to this file), which probably is indeed a bit too complex.I assume the same would apply for several more files.
Both pages seem to have no validation errors:
adapters-overview.html
dev-docs-publication-strategy.html
Since I did not face similar issues when I recently last time updated the index (around March), I am wondering:
Algolia documentation
The text was updated successfully, but these errors were encountered: