This seems to be the issue - “totalTermFreq must be at least docFreq” error after upgrading to 8.4.2 · Issue #90275 · elastic/elasticsearch · GitHub
Going to be fixed in 8.4.3 according to the thread ![]()
Temporary workaround is to reindex in a previous version of Elasticsearch (8.4.1 or earlier).