I ran into the same problem where the sdk doesn’t let you set a result window higher than 10k, what you need to do is to add this line ‘export CBFT_ENV_OPTIONS=bleveMaxResultWindow=10000000’ to your ~/.bashrc
On windows it would be just like setting any other environment variable
You can look here to see how to do it programmatically: