I can't get all the items, the maximum reached is size:10000. thanks
Error: [query_phase_execution_exception] Result window is too large, from + size must be less than or equal to: [10000] but was [90000]. See the scroll API for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level parameter.
Any idea how can I solve it?
GetTweets: function (callback) {
client.search({
index: 'twitter',
type: 'tweet',
size:10000,
body: {
query: {
"query": {
"match_all": {}
}
}
}
}, function (err, resp, status) {
callback(err,resp);
});
},