I am trying to index some PDF documents using NEST and ElasticSearch5.1. Most of them go thru fine. The larger ones (10 MB to 40 MB) throw either a "(413) Request Entity Too Large" or "System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."
Can somebody please help me figure out what is the problem here?
I am led to believe that either the exceptions are not common or the work of uploading 10 - 40 MB of PDFs is uncommon. Can somebody please let me know if I am using Elastic in an unintended fashion?