esquery icon indicating copy to clipboard operation
esquery copied to clipboard

Only return certain fields

Open mooijtech opened this issue 3 years ago • 1 comments

Hello,

I was wondering if you could add functionality to only return certain fields? I'm loading in thousands of messages and it would save memory to only return the body and header when a user clicks a message.

References: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html

Kind regards, Marten Mooij

mooijtech avatar Nov 03 '21 12:11 mooijtech

maybe using SourceIncludes()

fcarrero avatar Sep 07 '22 22:09 fcarrero