I don't know the cause of the problem, but I kind of understand why there are no solutions in the topics where people have reported similar problems in the past.
I haven't made any special changes to my ElasticSearch settings, but I don't get that error anymore.
I would like to close this topic for now.