0
votes

Why is the Elasticsearch REST API for search and view data via port 9500* returning only 10 records? Is there a maximum number that controls this?

http://localhost:9500/*/_search?q=module:"login"

*https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/analyt ics/elasticsearch/

enter image description here

1

1 Answers

2
votes

Since analytics is based on the elasticsearch, to the query you need to add the additional parameter &size=100000 to the url.

Example: http://localhost:9500/_search?size=100000