mappings.asciidoc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [float]
  2. [[breaking_70_mappings_changes]]
  3. === Mapping changes
  4. [float]
  5. ==== The `_all` meta field is removed
  6. The `_all` field deprecated in 6 have now been removed.
  7. [float]
  8. ==== The `_uid` meta field is removed
  9. This field used to index a composite key formed of the `_type` and the `_id`.
  10. Now that indices cannot have multiple types, this has been removed in favour
  11. of `_id`.
  12. [float]
  13. ==== The `_default_` mapping is no longer allowed
  14. The `_default_` mapping has been deprecated in 6.0 and is now no longer allowed
  15. in 7.0. Trying to configure a `_default_` mapping on 7.x indices will result in
  16. an error.
  17. [float]
  18. ==== `index_options` for numeric fields has been removed
  19. The `index_options` field for numeric fields has been deprecated in 6 and has now been removed.
  20. [float]
  21. ==== Limiting the number of `nested` json objects
  22. To safeguard against out of memory errors, the number of nested json objects within a single
  23. document across all fields has been limited to 10000. This default limit can be changed with
  24. the index setting `index.mapping.nested_objects.limit`.
  25. [float]
  26. ==== The `update_all_types` option has been removed
  27. This option is useless now that all indices have at most one type.
  28. [float]
  29. ==== The `classic` similarity has been removed
  30. The `classic` similarity relied on coordination factors for scoring to be good
  31. in presence of stopwords in the query. This feature has been removed from
  32. Lucene, which means that the `classic` similarity now produces scores of lower
  33. quality. It is advised to switch to `BM25` instead, which is widely accepted
  34. as a better alternative.
  35. [float]
  36. ==== Similarities fail when unsupported options are provided
  37. An error will now be thrown when unknown configuration options are provided
  38. to similarities. Such unknown parameters were ignored before.