The contents of the elasticsearch are searched for the matching results and returned as demand.
There is scope for improvement with the paginated responses.
Run following commands
- Format the code
mvn fmt:format
- Clean, compile the code
mvn clean package