I'm using Python Library to integrate with Elasticsearch
es = Elasticsearch([{'host': 'localhost', 'port': 9200}])
res = es.search(index="college", doc_type='people', body=doc)
It returns only 10 records where as I have 30K+ matching records
es = Elasticsearch([{'host': 'localhost', 'port': 9200}])
res = es.search(index="college", doc_type='people', body=doc, size = 30450)
This retrieves all records. But I want to retrieve all the matching records without specifying size parameter (I might know it upfront). How to get it?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.