Does Elasticsearch high-level client offer a method similar to wrapperQuery?

Does Elasticsearch high-level client offer a method similar to wrapperQuery​(java.lang.String source)
that can be used to build highlight property of a search request?

Context:
We're bulding an API layer that will accept search requests as JSON, build SearchRequest from it using high-level client, execute search and forward a response to the client. I know we could potentially use low-level client, but we would like to benefit from features offered by high-level client.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.