How can i took all Hit values record in python?

'took': 14,
 'timed_out': False,
 '_shards': {'total': 1, 'successful': 1, 'skipped': 0, 'failed': 0},
 'hits': {'total': {'value': 99, 'relation': 'eq'},
  'max_score': 1.0,`Preformatted text`

when I am trying with this,Every runs it gives random number of output
response = es.search(index="index", body=search_param,request_timeout=100)
i have also tried with
"size": 10000

You can use:

  • the size and from parameters to display by default up to 10000 records to your users. If you want to change this limit, you can change index.max_result_window setting but be aware of the consequences (ie memory).
  • the search after feature to do deep pagination.
  • the Scroll API if you want to extract a resultset to be consumed by another tool later.

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