Heya. I'm new with Elastic Search and AppSearch but we have setup an engine and am attempting to bulk upload a 100 documents per request and up to 1000 requests, throttled to 10 at a time via a semaphore (c#). I keep on getting the below http exception shortly after initiating the bulk upload (the first couple succeed without issue):
An existing connection was forcibly closed by the remote host.
When I try and view my appsearch engine though, I see that it is unavailable
Increase Enterprise Search and Elasticsearch resource capacity (Elasticsearch matters more after a point)
I'd recommend, starting at 1, increasing concurrent indexing request count to understand when indexing requests begin to affect performance. Then you can increase cluster capacity as needed to achieve your desired indexing throughput.
Thanks @ross.bell. When you mention the concurrent indexing request count, are you refering to the amount of concurrent document uploads we are attempting at a time?
Yep, you mention you're issuing 10 requests in parallel. You'll want to play around with how many parallel requests your cluster size supports. It sounds like it's currently too small to handle 10.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.