diff --git a/docs/reference/aggregations/metrics/tophits-aggregation.asciidoc b/docs/reference/aggregations/metrics/tophits-aggregation.asciidoc index 117d0e249c197..2ae3b8a658a41 100644 --- a/docs/reference/aggregations/metrics/tophits-aggregation.asciidoc +++ b/docs/reference/aggregations/metrics/tophits-aggregation.asciidoc @@ -20,7 +20,7 @@ The top_hits aggregation returns regular search hits, because of this many per h * <> * <> * <> -* <> +* <> * <> * <> * <> diff --git a/docs/reference/mapping/fields/source-field.asciidoc b/docs/reference/mapping/fields/source-field.asciidoc index a5c87453517e5..17526438b79d0 100644 --- a/docs/reference/mapping/fields/source-field.asciidoc +++ b/docs/reference/mapping/fields/source-field.asciidoc @@ -76,7 +76,7 @@ stored. WARNING: Removing fields from the `_source` has similar downsides to disabling `_source`, especially the fact that you cannot reindex documents from one Elasticsearch index to another. Consider using -<> instead. +<> instead. The `includes`/`excludes` parameters (which also accept wildcards) can be used as follows: diff --git a/docs/reference/mapping/params/store.asciidoc b/docs/reference/mapping/params/store.asciidoc index 5bde4530cac29..33debc03e58a4 100644 --- a/docs/reference/mapping/params/store.asciidoc +++ b/docs/reference/mapping/params/store.asciidoc @@ -9,7 +9,7 @@ Usually this doesn't matter. The field value is already part of the <>, which is stored by default. If you only want to retrieve the value of a single field or of a few fields, instead of the whole `_source`, then this can be achieved with -<>. +<>. In certain situations it can make sense to `store` a field. For instance, if you have a document with a `title`, a `date`, and a very large `content` diff --git a/docs/reference/search/request/stored-fields.asciidoc b/docs/reference/search/request/stored-fields.asciidoc index bca21a9da4fc6..9515fc8cb78b6 100644 --- a/docs/reference/search/request/stored-fields.asciidoc +++ b/docs/reference/search/request/stored-fields.asciidoc @@ -3,7 +3,7 @@ WARNING: The `stored_fields` parameter is about fields that are explicitly marked as stored in the mapping, which is off by default and generally not recommended. -Use <> instead to select +Use <> instead to select subsets of the original source document to be returned. Allows to selectively load specific stored fields for each document represented @@ -62,5 +62,5 @@ GET /_search } -------------------------------------------------- -NOTE: <> and <> parameters cannot be activated if `_none_` is used. +NOTE: <> and <> parameters cannot be activated if `_none_` is used. diff --git a/docs/reference/search/search-fields.asciidoc b/docs/reference/search/search-fields.asciidoc index 3a5af4bbde8c0..77010912e3562 100644 --- a/docs/reference/search/search-fields.asciidoc +++ b/docs/reference/search/search-fields.asciidoc @@ -5,9 +5,8 @@ By default, each hit in the search response includes the document <>, which is the entire JSON object that was provided when indexing the document. If you only need certain fields in the -search response, you can use the -<> parameter to restrict what -parts of the source are returned. This is called _source filtering_. +search response, you can use the `_source` parameter to restrict what parts of +the source are returned. This is called _source filtering_. .*Example* [%collapsible] diff --git a/docs/reference/search/suggesters/completion-suggest.asciidoc b/docs/reference/search/suggesters/completion-suggest.asciidoc index 694faf45f4c42..54d2fee0cc8cd 100644 --- a/docs/reference/search/suggesters/completion-suggest.asciidoc +++ b/docs/reference/search/suggesters/completion-suggest.asciidoc @@ -219,7 +219,7 @@ The configured weight for a suggestion is returned as `_score`. The return the full document `_source` by default. The size of the `_source` can impact performance due to disk fetch and network transport overhead. To save some network overhead, filter out unnecessary fields from the `_source` -using <> to minimize +using <> to minimize `_source` size. Note that the _suggest endpoint doesn't support source filtering but using suggest on the `_search` endpoint does: diff --git a/docs/reference/snapshot-restore/apis/put-repo-api.asciidoc b/docs/reference/snapshot-restore/apis/put-repo-api.asciidoc index 714554a410475..66f8c9f3356d4 100644 --- a/docs/reference/snapshot-restore/apis/put-repo-api.asciidoc +++ b/docs/reference/snapshot-restore/apis/put-repo-api.asciidoc @@ -113,7 +113,7 @@ source-only snapshots that take up to 50% less space on disk. + Source-only snapshots are only supported if the <> is enabled and no -<> is applied. +<> is applied. + WARNING: Source-only snapshots contain stored fields and index metadata. They do not include index or doc values structures and are not searchable when restored.