Resource leak in the ElasticSearchRestService

Description

In the ElasticSearchRestService.search(String query, int size, int start), the fist statement 'buildRestClient()'
creates and opens a RestClient, but it never used and closed.

Environment

None

Assignee

Jagrut Sharma

Reporter

Boying Lu

Labels

None

Reviewer

None

Story point estimate

None

Components

Priority

Medium
Configure