问题
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/
回答1:
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
来源:https://stackoverflow.com/questions/43176530/how-to-configure-ibm-mobilefirst-platform-8-0-analytics-console-rest-api-maximum