SearchRequestBuilder.setNoFields in ES 5

In ES1, there was an API call as
(new SearchRequestBuilder).setNoFields();
which 'Sets no fields to be loaded, resulting in only id and type to be returned per field.'

Is there a corresponding method in ES5 please?

2 Likes

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