Derived_source documentation recommends using size when perhaps it should recommend using excludes

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): OpenSearch 3.2

Describe the issue: The documentation for derived_source recommends using size when I suspect it should be recommending excludes: To avoid this overhead during search queries, do not request the _source field when it’s not needed. You can do this by setting the size parameter, which controls the number of documents returned.

Configuration: NA

Relevant Logs or Screenshots: NA

1 Like

@davidbkemp Could you raise a documentation issue in the OpenSearch Github?
You can use either Create an issue link or propose your change with Edit this page.

image

2 Likes

Done: [DOC] Derived_source documentation recommends using size when perhaps it should recommend using excludes · Issue #11118 · opensearch-project/documentation-website · GitHub

1 Like