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
You can use the from and size parameters to page through all your data. This could be very slow depending on your data and how much is in the index.
from
size
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html