//Set the elasticsearch settings to allow scrolling private void setElasticSettings() { logger.debug("Setting elastic settings"); var request = client.IndicesPutSettingsForAll <StringResponse>("{\"max_result_window\":1000000}"); }