Filter: ep_max_results_window

apply_filters( 'ep_max_results_window', Max ) → {int}

Filter max result size if set to -1

The request will return a HTTP 500 Internal Error if the size of the request is larger than the [index.max_result_window] parameter in ES. See the scroll api for a more efficient way to request large data sets.

Parameters:
Name Type Description
Max int

result window

Source:
Returns:

New window

Type
int