Spin-off from #26299. Doc-value and script fields are costly since they might incur a per-field per-document seek, while stored fields only incur a per-document seek. So we should add a soft limit over the number of requested doc-value and script fields.