Elasticsearch search unlimited


(vasanthakumar) #1

Hi i am new to elastic. im using elastic search with chewy gem in ruby on rails.and how to increase the search limit into unlimited?now im getting only 10 results.


(David Pilato) #2

You can't.

At most by default you can get back the first 10000 hits.
You probably have a size and from parameters in the ruby client.

If you want to extract all data, then you need to use the scroll API. See https://www.elastic.co/guide/en/elasticsearch/reference/5.6/search-request-scroll.html


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.