Skip to content

Commit 27f45ae

Browse files
authored
[DOCS] Remove 'analyzed string' references (#51946)
The `string` field datatype was replaced by the `text` and `keyword` field datatypes in [5.0][0]. This removes several outdated references to 'analyzed string' fields. [0]:https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking_50_mapping_changes.html#_string_fields_replaced_by_textkeyword_fields
1 parent 9fad0b1 commit 27f45ae

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

docs/reference/mapping/params/analyzer.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[analyzer]]
22
=== `analyzer`
33

4-
The values of <<mapping-index,`analyzed`>> string fields are passed through an
4+
The values of <<text,`text`>> fields are passed through an
55
<<analysis,analyzer>> to convert the string into a stream of _tokens_ or
66
_terms_. For instance, the string `"The quick Brown Foxes."` may, depending
77
on which analyzer is used, be analyzed to the tokens: `quick`, `brown`,

docs/reference/mapping/params/index-options.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ following settings:
3030

3131
NOTE: <<number,Numeric fields>> don't support the `index_options` parameter any longer.
3232

33-
<<mapping-index,Analyzed>> string fields use `positions` as the default, and
34-
all other fields use `docs` as the default.
33+
<<text,`text`>> fields use `positions` as the default, and all other fields use
34+
`docs` as the default.
3535

3636
[source,console]
3737
--------------------------------------------------

docs/reference/mapping/types/search-as-you-type.asciidoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ the same way.
184184
<<analyzer,`analyzer`>>::
185185

186186
The <<analysis,analyzer>> which should be used for
187-
<<mapping-index,`analyzed`>> string fields, both at index-time and at
187+
`text` fields, both at index-time and at
188188
search-time (unless overridden by the
189189
<<search-analyzer,`search_analyzer`>>). Defaults to the default index
190190
analyzer, or the <<analysis-standard-analyzer,`standard` analyzer>>.
@@ -215,7 +215,7 @@ the same way.
215215
<<search-analyzer,`search_analyzer`>>::
216216

217217
The <<analyzer,`analyzer`>> that should be used at search time on
218-
<<mapping-index,`analyzed`>> fields. Defaults to the `analyzer` setting.
218+
<<text,`text`>> fields. Defaults to the `analyzer` setting.
219219

220220
<<search-quote-analyzer,`search_quote_analyzer`>>::
221221

@@ -229,8 +229,7 @@ the same way.
229229

230230
<<term-vector,`term_vector`>>::
231231

232-
Whether term vectors should be stored for an <<mapping-index,`analyzed`>>
233-
field. Defaults to `no`. This option configures the root field and shingle
232+
Whether term vectors should be stored for the field. Defaults to `no`. This option configures the root field and shingle
234233
subfields, but not the prefix subfield.
235234

236235

docs/reference/mapping/types/text.asciidoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following parameters are accepted by `text` fields:
4949
<<analyzer,`analyzer`>>::
5050

5151
The <<analysis,analyzer>> which should be used for
52-
<<mapping-index,`analyzed`>> string fields, both at index-time and at
52+
the `text` field, both at index-time and at
5353
search-time (unless overridden by the <<search-analyzer,`search_analyzer`>>).
5454
Defaults to the default index analyzer, or the
5555
<<analysis-standard-analyzer,`standard` analyzer>>.
@@ -122,7 +122,7 @@ The following parameters are accepted by `text` fields:
122122
<<search-analyzer,`search_analyzer`>>::
123123

124124
The <<analyzer,`analyzer`>> that should be used at search time on
125-
<<mapping-index,`analyzed`>> fields. Defaults to the `analyzer` setting.
125+
the `text` field. Defaults to the `analyzer` setting.
126126

127127
<<search-quote-analyzer,`search_quote_analyzer`>>::
128128

@@ -136,8 +136,7 @@ The following parameters are accepted by `text` fields:
136136

137137
<<term-vector,`term_vector`>>::
138138

139-
Whether term vectors should be stored for an <<mapping-index,`analyzed`>>
140-
field. Defaults to `no`.
139+
Whether term vectors should be stored for the field. Defaults to `no`.
141140

142141
<<mapping-field-meta,`meta`>>::
143142

docs/reference/mapping/types/token-count.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ GET my_index/_search
4545
}
4646
--------------------------------------------------
4747

48-
<1> The `name` field is an analyzed string field which uses the default `standard` analyzer.
48+
<1> The `name` field is a <<text,`text`>> field which uses the default
49+
`standard` analyzer.
4950
<2> The `name.length` field is a `token_count` <<multi-fields,multi-field>> which will index the number of tokens in the `name` field.
5051
<3> This query matches only the document containing `Rachel Alice Williams`, as it contains three tokens.
5152

0 commit comments

Comments
 (0)