Max Window Size is Set to 10000 but the Terms aggregations is giving single filter value larger than max window size.

And what a user is going to do with 20000 documents for example? Are they consuming those documents in another tool? Or display all the documents on the result page? Are they going to paginate over the resultset?