Closed rsimon closed 7 years ago
TEI conversion was now revised completely (commit 7727c9ee5db7a96493d2a6976b985ba69ffcd6f3). Annotation import I just tried with a 5k+ document (The Histories) and things worked fine. Need to check the code though to confirm this is actually safe, not just a luck with a freshly-started & otherwise idle instance of ElasticSearch.
Checked the code. References are imported through the bulk API, plus the import is integrated with the standard failure/retry mechanism, i.e. this works:
Earlier failures were actually a consequence of the broken TEI conversion, which was fixed in 7727c9ee5db7a96493d2a6976b985ba69ffcd6f3.
The TEI import is still rather prototypical. When importing a large text, the following two aspects cause problems: