needlehack-team/needlehack

[NH-010] - Paginate the search API response

Closed this issue · 1 comments

[NH-010] - Paginate the search API response

We need to create a CommandLineRunner for creating an index at startup. This index is needed in order to decouple the collector to the search api component since if we run the search api component without the collector being running, the result will be a failed execution.

Further information is available here:
https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-create-index.html