I am trying to use the Google Custom Search API for research purposes in Java. As a result, I will need a large set of results for each query. However, it seems to me that I am limited to the first 100 results, which are much less than what I need. I use the list method as follows:
list.setStart(90L);
And when I set it to start from index 100, I get this error:
com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{ "code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Invalid Value",
"reason" : "invalid"
} ],
"message" : "Invalid Value"
}
Is there any way to remove this restriction?
Mahdi source
share