vertexium
vertexium copied to clipboard
Throw an exception on large Elasticsearch documents
I ran into a case in which Elasticsearch became unusable after a large document was ingested into the system. The only resolution was to remove that document and truncate future documents from getting that large.
Possible mitigation would be to throw an exception instead of ingesting the document if it is too large 500MB? Possibly warn with smaller documents.