Using stored_fields for retrieving a subset of the fields

The documentation and recommendation for using stored_fields feature in ElasticSearch has been changing. In the latest version, stored_fields is not recommended - https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-fields.html
Is there a reason for this?

Where as in version 7.4.0, there is no such negative recommendation - https://www.elastic.co/guide/en/elasticsearch/reference/7.4/mapping-store.html

What is the guidance in using this feature? Is using _source filtering a better option? I ask because in some other doc, _source filtering is supposed to kill performance - https://www.elastic.co/blog/found-optimizing-elasticsearch-searches

What is the best way to filter fields and not kill performance?

The documentation has only been updated for the most recent release (and also moved around), using source is recommended there as well. So is upgrading from 7.4 to 7.9 :slight_smile:

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