Greetings,
The following query does not work with msearch and NodeJS client:
{
_type: 'Account',
_source_exclude: ['timestamp', 'mainUserId']
},
{query: {constant_score: {filter: {term: {mainUserId: params.mainUserId}}}}}
I also tried _sourceExclude, _source: {exclude: ...}, and [...].join() with no luck
Regards