Any alternative method of Searchsearch(SearchRequest request, Class<TDocument> tDocumentClass)

Hello, Is there any alternative method for

Searchsearch(SearchRequest request, Class<TDocument> tDocumentClass)

that does not take Class<TDocument> tDocumentClass as an argument, because I do not have such type of model in the application and I do not want to create it.

FYI: My client object creation code is
ElasticsearchClient client = new ElasticsearchClient(transport);

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