How to make my search response to give all the documents matched to the relevant query without using any
setSize(10) with predefined value.
How can I achieve this????
Right now am using :
response = client.prepareSearch(index).setTypes(type)
Here when I would like to get the complete response and i dont know the size in advance, then how can I achieve the complete response without size declaration. (or) any other way to get the complete data??