Is your feature request related to a problem?
In Elastic search we can get the response SearchResponse from SearchTemplateResponse:
import org.elasticsearch.script.mustache.SearchTemplateResponse;
import org.elasticsearch.action.search.SearchResponse;
public SearchResponse searchWithTemplate(..........) {
SearchTemplateResponse response =.........
return response.getResponse();
}
Can we implement the same functionality in OpenSearch Java client?
If not what is the best way to implement this?
Is your feature request related to a problem?
In Elastic search we can get the response
SearchResponsefromSearchTemplateResponse:Can we implement the same functionality in OpenSearch Java client?
If not what is the best way to implement this?