Hi Team,
I am using java api to get the search response,
SearchResponse response = client.prepareSearch(index).setTypes(indextype).setSize(7878151).execute().actionGet();
Am getting the following Exception:
Exception in thread "main" org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution
at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:90)
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:50)
at com.alliance.cachetest.TestMain.getData(TestMain.java:58)
at com.alliance.cachetest.TestMain.main(TestMain.java:30)
Caused by: java.lang.ArrayIndexOutOfBoundsExceptionI am trying to do this SearchResponse response = client.prepareSearch(index).setTypes(indextype).setSize(7878151).execute().actionGet();
Can anyone guide me to solve this issue, is this because if huge data or anything else????