content-analysis-on-aws
content-analysis-on-aws copied to clipboard
Look into pagination options for ES calls from webapp
This isn't part of your change. I noticed we are limiting the number of hits to return from Elasticsearch to 10000. If query results are truncated, we should indicate that to the viewer in the UI. I don't see that Elasticsearch _search API has a clear indication that results are truncated in the response. I think we should consider using the pagination ("scroll") in ES for our queries.
Originally posted by @aburkleaux-amazon in https://github.com/awslabs/aws-media-insights-engine/pull/76
The limitation is 10,000, not 1000. Related to aws-solutions/aws-media-insights-engine#93
I think we should also consider how much memory is being used by the front end to display the results and keep it in a certain bounds.