Yep, tahts what you would use. Though, for a 1 million hits, asking for from: 900,000 is not recommended because of the memory implications of it.
On Thursday, February 3, 2011 at 12:30 PM, aditya.kulkarni wrote:
Is this what you are looking for?
http://www.elasticsearch.com/docs/elasticsearch/rest_api/search/from_size/"from" : 0, ->This is start point, this you can go on incrementing according
to size X.
"size" : X, -> This is number of entries to be returned say X=10 for 10
results per pagePlease note, I am not sure of memory or performance implications. Just
learning about ES. Any takers for this?Best Regards,
aView this message in context: http://elasticsearch-users.115913.n3.nabble.com/REST-Pagination-tp2392620p2412370.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.