How to configure IBM MobileFirst Platform 8.0 analytics console REST API maximum search result?

不问归期 提交于 2019-12-12 03:34:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!