When editing an item of a document with lots of holdings and items, ES takes to much time #1943
Labels
bug (critical)
Blocking issue, should be fixed ASAP
bug
Breaks something but is not blocking
f: editor
Concerns editor based on JSON schema AND custom editor
f: search
p-High
High priority (to be solved in the 2-3 next months)
Milestone
Describe the bug
When I edit this item (https://ilspilotdev.test.rero.ch/professional/records/items/edit/1612144), I receive an error "The form contains error". But the changes are saved.
This does not happen with other issues or standard items.
The issue is that ES takes too much time (because of too much records to reindex, see below) and the client closes the connexion.
To Reproduce
Expected behavior
It is possible to save the changes without error message.
Context
v1.2.0
Additional information
This document contains 23 holdings and fast 1000 items. Updating on item (even with no modification) result in reindexing the whole document stack (document/contributions/holdings/items), which takes too much time. As this is a regular use case, another method has to be implemented.
The text was updated successfully, but these errors were encountered: