Replacement of NamedXContentRegistry in Java API Client

I am using the Java Api Client and need to write Mockito Test Cases where I can read a Json file and convert it into a SearchResponse Object . With the High Level Rest Client this was possible using the NamedXContentRegistry . How can I achieve this using Java API Client .

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