How can i get all the results from elastic search as the results only display limit to 10 only. ihave got a query like:
@data = Athlete.search :load => tr
use the scan method e.g.
curl -XGET 'localhost:9200/_search?search_type=scan&scroll=10m&size=50' -d ' { "query" : { "match_all" : {} } }
see here