When running a query is ES, I try to get results > 10000 and I get RemoteTransportException nested; QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to:  but was .
My query is setup for paging so that I bring back 100 results per page. But when I get > 10000 I get this error.
I am doing all this in Java
Any ideas ?