Skip to content

Commit 87831fb

Browse files
authored
[DOCS] Fix source filtering xrefs (elastic#57720) (elastic#57726)
1 parent c7f1407 commit 87831fb

File tree

7 files changed

+9
-10
lines changed

7 files changed

+9
-10
lines changed

docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The top_hits aggregation returns regular search hits, because of this many per h
2020
* <<request-body-search-highlighting,Highlighting>>
2121
* <<request-body-search-explain,Explain>>
2222
* <<request-body-search-queries-and-filters,Named filters and queries>>
23-
* <<request-body-search-source-filtering,Source filtering>>
23+
* <<search-fields,Source filtering>>
2424
* <<request-body-search-stored-fields,Stored fields>>
2525
* <<request-body-search-script-fields,Script fields>>
2626
* <<request-body-search-docvalue-fields,Doc value fields>>

docs/reference/mapping/fields/source-field.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ stored.
7676
WARNING: Removing fields from the `_source` has similar downsides to disabling
7777
`_source`, especially the fact that you cannot reindex documents from one
7878
Elasticsearch index to another. Consider using
79-
<<request-body-search-source-filtering,source filtering>> instead.
79+
<<search-fields,source filtering>> instead.
8080

8181
The `includes`/`excludes` parameters (which also accept wildcards) can be used
8282
as follows:

docs/reference/mapping/params/store.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Usually this doesn't matter. The field value is already part of the
99
<<mapping-source-field,`_source` field>>, which is stored by default. If you
1010
only want to retrieve the value of a single field or of a few fields, instead
1111
of the whole `_source`, then this can be achieved with
12-
<<request-body-search-source-filtering,source filtering>>.
12+
<<search-fields,source filtering>>.
1313

1414
In certain situations it can make sense to `store` a field. For instance, if
1515
you have a document with a `title`, a `date`, and a very large `content`

docs/reference/search/request/stored-fields.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
WARNING: The `stored_fields` parameter is about fields that are explicitly marked as
55
stored in the mapping, which is off by default and generally not recommended.
6-
Use <<request-body-search-source-filtering,source filtering>> instead to select
6+
Use <<search-fields,source filtering>> instead to select
77
subsets of the original source document to be returned.
88

99
Allows to selectively load specific stored fields for each document represented
@@ -62,5 +62,5 @@ GET /_search
6262
}
6363
--------------------------------------------------
6464

65-
NOTE: <<request-body-search-source-filtering,`_source`>> and <<request-body-search-version, `version`>> parameters cannot be activated if `_none_` is used.
65+
NOTE: <<search-fields,`_source`>> and <<request-body-search-version, `version`>> parameters cannot be activated if `_none_` is used.
6666

docs/reference/search/search-fields.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
By default, each hit in the search response includes the document
66
<<mapping-source-field,`_source`>>, which is the entire JSON object that was
77
provided when indexing the document. If you only need certain fields in the
8-
search response, you can use the
9-
<<request-body-search-source-filtering,`_source`>> parameter to restrict what
10-
parts of the source are returned. This is called _source filtering_.
8+
search response, you can use the `_source` parameter to restrict what parts of
9+
the source are returned. This is called _source filtering_.
1110

1211
.*Example*
1312
[%collapsible]

docs/reference/search/suggesters/completion-suggest.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ The configured weight for a suggestion is returned as `_score`. The
219219
return the full document `_source` by default. The size of the `_source`
220220
can impact performance due to disk fetch and network transport overhead.
221221
To save some network overhead, filter out unnecessary fields from the `_source`
222-
using <<request-body-search-source-filtering, source filtering>> to minimize
222+
using <<search-fields, source filtering>> to minimize
223223
`_source` size. Note that the _suggest endpoint doesn't support source
224224
filtering but using suggest on the `_search` endpoint does:
225225

docs/reference/snapshot-restore/apis/put-repo-api.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ source-only snapshots that take up to 50% less space on disk.
113113
+
114114
Source-only snapshots are only supported if the <<mapping-source-field,`_source`
115115
field>> is enabled and no
116-
<<request-body-search-source-filtering,source-filtering>> is applied.
116+
<<search-fields,source-filtering>> is applied.
117117
+
118118
WARNING: Source-only snapshots contain stored fields and index metadata. They do
119119
not include index or doc values structures and are not searchable when restored.

0 commit comments

Comments
 (0)