Set max_result_window through NEST

Hello

Is it possible to set or update the max_result_window through the NEST API?

Since max_result_window is a dynamic index setting, you can update it with

var client = new ElasticClient();

var updateIndexSettingsResponse = client.UpdateIndexSettings("index_name", u => u
    .IndexSettings(di => di
        .Setting("index.max_result_window", 20000)
    )
);

Thanks Russ!
Got it working, thank you so much

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.