Elasticsearch search queries fetch the whole document source by default

Description

It seems that since we moved to docvalues for ID/type fetching, we don't always set the _source attribute in search queries, and as a result Elasticsearch defaults to sending us everything, even though we don't need the source at all in these cases.

We should add a bit after all projections contributed their request, and if the source is not set, set it to false.

Activity

Show:
Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Created March 10, 2020 at 10:38 AM
Updated March 31, 2020 at 11:52 AM
Resolved March 12, 2020 at 3:19 PM

Flag notifications