elasticsearch/docs/reference
Luca Cavanna 50793a68a8
Fields API to allow fetching values when _source is disabled (#87267)
Back when we introduced the fields parameter to the search API, it could only fetch values from _source, hence
the corresponding sub-fetch phase fails early whenever _source is disabled. Today though runtime fields can
be retrieved from a separate value fetcher that reads from fielddata, and metadata fields can be retrieved
from stored fields. These two scenarios currently throw an unnecessary error whenever _source is disabled.

This commit removes the check for disabled _source, so that runtime fields and metadata fields can be retrieved even when _source is disabled. Fields that need to be loaded from _source are simply skipped whenever _source is disabled, similar to when a field is not found in _source.

Closes #87072
2022-06-02 11:28:36 +02:00
..
aggregations [ML] Replace the implementation of the categorize_text aggregation (#85872) 2022-05-23 18:46:13 +01:00
analysis Fix docs link to Lucene stop filter (#87037) 2022-05-23 11:06:35 -07:00
autoscaling
cat correct way of getting node heap size (#85045) 2022-05-11 09:59:34 -04:00
ccr
cluster Remove "Push back excessive requests for stats (#83832)" (#87054) 2022-05-23 12:58:02 -04:00
commands
data-management [DOC] auto migrate only for default template (#82043) 2022-05-10 11:35:19 -04:00
data-streams
docs [Docs] Document apiKey usage in remote reindex (#85209) 2022-05-10 14:31:42 -04:00
eql
features/apis
fleet
graph
health How-to docs for increasing the total number of shards per node (#86214) 2022-05-10 09:13:27 +01:00
high-availability
how-to [DOCS] Remove references to X-Pack Basic License (#86822) 2022-05-20 13:34:46 -07:00
ilm Update error-handling.asciidoc (#86795) 2022-06-01 14:57:38 -06:00
images
index-modules
indices Fix expand_wildcards default in docs (#87086) 2022-05-24 13:11:35 -07:00
ingest Clarify environments with strict firewalls and GEOIP (RE: #85637) (#86648) 2022-05-23 06:43:26 -06:00
licensing
mapping Document example loss of precision from floats (#87122) 2022-05-25 16:45:23 -04:00
migration [DOCS] Adds 8.2.1 release notes and ml-cpp PRs (#86933) 2022-05-19 16:18:14 -07:00
ml [DOCS] Expands AD and Transform alert docs with info on context for recovered alerts (#87118) 2022-06-02 09:52:47 +02:00
modules Increase force_merge threadpool size (#87082) 2022-05-25 15:45:28 +02:00
monitoring [DOCS] Adding Getting Help section to troubleshooting docs (#87095) 2022-05-25 15:58:41 -04:00
query-dsl new geo_grid query to be used with geogrid aggregations (#86596) 2022-05-23 11:38:07 +02:00
release-notes [DOCS] Remove 8.2.2 coming tags (#87176) 2022-05-26 09:11:03 -07:00
repositories-metering-api
rest-api [Transform] Support `range` aggregation in transform (#86501) 2022-05-16 15:21:00 +02:00
rollup
scripting
search Fields API to allow fetching values when _source is disabled (#87267) 2022-06-02 11:28:36 +02:00
searchable-snapshots
settings [DOCS] Document when security auto configuration is skipped (#86575) 2022-05-17 08:27:48 -04:00
setup Update macOS install steps to use curl instead of wget (#87186) 2022-05-31 17:34:24 -04:00
shutdown/apis
slm/apis
snapshot-restore Docs for snapshots as simple archives (#86261) 2022-05-30 13:23:53 +02:00
sql Implement support for partial search results in SQL CLI (#86982) 2022-05-26 16:59:37 +02:00
tab-widgets Update get kibana guide in troubleshooting docs (#87075) 2022-05-25 16:11:18 +01:00
text-structure/apis
transform [DOCS] Expands AD and Transform alert docs with info on context for recovered alerts (#87118) 2022-06-02 09:52:47 +02:00
troubleshooting/data Troubleshooting guides for disabled allocations (#86789) 2022-05-24 10:27:15 +01:00
upgrade Docs for snapshots as simple archives (#86261) 2022-05-30 13:23:53 +02:00
vectors
aggregations.asciidoc
alias.asciidoc
analysis.asciidoc
api-conventions.asciidoc
cat.asciidoc
cluster.asciidoc How-to docs for increasing the total number of shards per node (#86214) 2022-05-10 09:13:27 +01:00
data-management.asciidoc
data-rollup-transform.asciidoc
datatiers.asciidoc
dependencies-versions.asciidoc
docs.asciidoc
getting-started.asciidoc
gs-index.asciidoc
high-availability.asciidoc
how-to.asciidoc How-to docs for increasing the total number of shards per node (#86214) 2022-05-10 09:13:27 +01:00
index-extra-title-page.html
index-modules.asciidoc Troubleshooting guides for disabled allocations (#86789) 2022-05-24 10:27:15 +01:00
index.asciidoc How-to docs for increasing the total number of shards per node (#86214) 2022-05-10 09:13:27 +01:00
index.x.asciidoc
indices.asciidoc
ingest.asciidoc
intro.asciidoc
links.asciidoc
mapping.asciidoc
query-dsl.asciidoc
redirects.asciidoc [DOCS] Removes infer trained model deployment API (#86497) 2022-05-10 09:56:36 -07:00
release-notes.asciidoc [DOCS] Update docs for v8.2.2 release (#87092) (#87137) 2022-05-25 14:17:32 -07:00
scripting.asciidoc
search.asciidoc
setup.asciidoc
troubleshooting.asciidoc [DOCS] Adding Getting Help section to troubleshooting docs (#87095) 2022-05-25 15:58:41 -04:00
upgrade.asciidoc Docs for snapshots as simple archives (#86261) 2022-05-30 13:23:53 +02:00