mirror of
https://github.com/requarks/wiki.git
synced 2026-03-02 22:06:55 -05:00
Algolia prevents indexing on big documents #1702
Labels
No labels
BETA
BETA
accessibility
backlog
bug
can't replicate
contrib-easy
contrib-hard
contrib-medium
deferred
documentation
duplicate
duplicate
editors
enhancement
invalid
localization
migrate
ui
under review
v3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wiki-requarks#1702
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jayzalowitz on GitHub (Jun 19, 2020).
Originally assigned to: @NGPixel on GitHub.
Describe the bug
When you have a large document this gets thrown and no documents get indexed:
https://github.com/Requarks/wiki/blob/master/server/modules/search/algolia/engine.js#L142
To Reproduce
Make a very large document
Expected behavior
At least some documents would get through
Additional context
https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/indexing-long-documents/ splitting by line would work just as well for these documents. At the very least telling what document was causing the problem would be great while trying to rebuild index.
@NGPixel commented on GitHub (Jun 26, 2020):
Duplicate of #1833