2017-08-28 11:43:59 -04:00
|
|
|
[[breaking_70_mappings_changes]]
|
|
|
|
=== Mapping changes
|
|
|
|
|
|
|
|
==== The `_all` meta field is removed
|
|
|
|
|
2017-09-25 17:43:14 -04:00
|
|
|
The `_all` field deprecated in 6 have now been removed.
|
|
|
|
|
2018-04-11 03:41:37 -04:00
|
|
|
==== The `_uid` meta field is removed
|
|
|
|
|
|
|
|
This field used to index a composite key formed of the `_type` and the `_id`.
|
|
|
|
Now that indices cannot have multiple types, this has been removed in favour
|
|
|
|
of `_id`.
|
|
|
|
|
2018-03-21 05:44:11 -04:00
|
|
|
==== The `_default_` mapping is no longer allowed
|
|
|
|
|
|
|
|
The `_default_` mapping has been deprecated in 6.0 and is now no longer allowed
|
|
|
|
in 7.0. Trying to configure a `_default_` mapping on 7.x indices will result in
|
|
|
|
an error.
|
|
|
|
|
2017-09-25 17:43:14 -04:00
|
|
|
==== `index_options` for numeric fields has been removed
|
|
|
|
|
2017-11-22 10:16:28 -05:00
|
|
|
The `index_options` field for numeric fields has been deprecated in 6 and has now been removed.
|
|
|
|
|
|
|
|
==== Limiting the number of `nested` json objects
|
|
|
|
|
|
|
|
To safeguard against out of memory errors, the number of nested json objects within a single
|
|
|
|
document across all fields has been limited to 10000. This default limit can be changed with
|
2018-01-22 06:03:07 -05:00
|
|
|
the index setting `index.mapping.nested_objects.limit`.
|
|
|
|
|
|
|
|
==== The `update_all_types` option has been removed
|
|
|
|
|
|
|
|
This option is useless now that all indices have at most one type.
|
2018-04-03 10:45:25 -04:00
|
|
|
|
2018-09-07 19:53:36 -04:00
|
|
|
==== The `classic` similarity has been removed
|
2018-04-03 10:45:25 -04:00
|
|
|
|
|
|
|
The `classic` similarity relied on coordination factors for scoring to be good
|
|
|
|
in presence of stopwords in the query. This feature has been removed from
|
|
|
|
Lucene, which means that the `classic` similarity now produces scores of lower
|
|
|
|
quality. It is advised to switch to `BM25` instead, which is widely accepted
|
|
|
|
as a better alternative.
|
|
|
|
|
2018-09-07 19:53:36 -04:00
|
|
|
==== Similarities fail when unsupported options are provided
|
2018-04-03 10:45:25 -04:00
|
|
|
|
|
|
|
An error will now be thrown when unknown configuration options are provided
|
|
|
|
to similarities. Such unknown parameters were ignored before.
|