[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
This commit is contained in:
parent
da2d441d50
commit
9128106b4c
|
@ -1,7 +1,7 @@
|
|||
[[analyzer]]
|
||||
=== `analyzer`
|
||||
|
||||
The values of <<mapping-index,`analyzed`>> string fields are passed through an
|
||||
The values of <<text,`text`>> fields are passed through an
|
||||
<<analysis,analyzer>> to convert the string into a stream of _tokens_ or
|
||||
_terms_. For instance, the string `"The quick Brown Foxes."` may, depending
|
||||
on which analyzer is used, be analyzed to the tokens: `quick`, `brown`,
|
||||
|
|
|
@ -30,8 +30,8 @@ following settings:
|
|||
|
||||
NOTE: <<number,Numeric fields>> don't support the `index_options` parameter any longer.
|
||||
|
||||
<<mapping-index,Analyzed>> string fields use `positions` as the default, and
|
||||
all other fields use `docs` as the default.
|
||||
<<text,`text`>> fields use `positions` as the default, and all other fields use
|
||||
`docs` as the default.
|
||||
|
||||
[source,console]
|
||||
--------------------------------------------------
|
||||
|
|
|
@ -185,7 +185,7 @@ the same way.
|
|||
<<analyzer,`analyzer`>>::
|
||||
|
||||
The <<analysis,analyzer>> which should be used for
|
||||
<<mapping-index,`analyzed`>> string fields, both at index-time and at
|
||||
`text` fields, both at index-time and at
|
||||
search-time (unless overridden by the
|
||||
<<search-analyzer,`search_analyzer`>>). Defaults to the default index
|
||||
analyzer, or the <<analysis-standard-analyzer,`standard` analyzer>>.
|
||||
|
@ -216,7 +216,7 @@ the same way.
|
|||
<<search-analyzer,`search_analyzer`>>::
|
||||
|
||||
The <<analyzer,`analyzer`>> that should be used at search time on
|
||||
<<mapping-index,`analyzed`>> fields. Defaults to the `analyzer` setting.
|
||||
<<text,`text`>> fields. Defaults to the `analyzer` setting.
|
||||
|
||||
<<search-quote-analyzer,`search_quote_analyzer`>>::
|
||||
|
||||
|
@ -230,8 +230,7 @@ the same way.
|
|||
|
||||
<<term-vector,`term_vector`>>::
|
||||
|
||||
Whether term vectors should be stored for an <<mapping-index,`analyzed`>>
|
||||
field. Defaults to `no`. This option configures the root field and shingle
|
||||
Whether term vectors should be stored for the field. Defaults to `no`. This option configures the root field and shingle
|
||||
subfields, but not the prefix subfield.
|
||||
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ The following parameters are accepted by `text` fields:
|
|||
<<analyzer,`analyzer`>>::
|
||||
|
||||
The <<analysis,analyzer>> which should be used for
|
||||
<<mapping-index,`analyzed`>> string fields, both at index-time and at
|
||||
the `text` field, both at index-time and at
|
||||
search-time (unless overridden by the <<search-analyzer,`search_analyzer`>>).
|
||||
Defaults to the default index analyzer, or the
|
||||
<<analysis-standard-analyzer,`standard` analyzer>>.
|
||||
|
@ -127,7 +127,7 @@ The following parameters are accepted by `text` fields:
|
|||
<<search-analyzer,`search_analyzer`>>::
|
||||
|
||||
The <<analyzer,`analyzer`>> that should be used at search time on
|
||||
<<mapping-index,`analyzed`>> fields. Defaults to the `analyzer` setting.
|
||||
the `text` field. Defaults to the `analyzer` setting.
|
||||
|
||||
<<search-quote-analyzer,`search_quote_analyzer`>>::
|
||||
|
||||
|
@ -141,8 +141,7 @@ The following parameters are accepted by `text` fields:
|
|||
|
||||
<<term-vector,`term_vector`>>::
|
||||
|
||||
Whether term vectors should be stored for an <<mapping-index,`analyzed`>>
|
||||
field. Defaults to `no`.
|
||||
Whether term vectors should be stored for the field. Defaults to `no`.
|
||||
|
||||
<<mapping-field-meta,`meta`>>::
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@ GET my_index/_search
|
|||
}
|
||||
--------------------------------------------------
|
||||
|
||||
<1> The `name` field is an analyzed string field which uses the default `standard` analyzer.
|
||||
<1> The `name` field is a <<text,`text`>> field which uses the default
|
||||
`standard` analyzer.
|
||||
<2> The `name.length` field is a `token_count` <<multi-fields,multi-field>> which will index the number of tokens in the `name` field.
|
||||
<3> This query matches only the document containing `Rachel Alice Williams`, as it contains three tokens.
|
||||
|
||||
|
|
Loading…
Reference in New Issue