removals.asciidoc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. === Removed features
  2. ==== Rivers have been removed
  3. Elasticsearch does not support rivers anymore. While we had first planned to
  4. keep them around to ease migration, keeping support for rivers proved to be
  5. challenging as it conflicted with other important changes that we wanted to
  6. bring to 2.0 like synchronous dynamic mappings updates, so we eventually
  7. decided to remove them entirely. See
  8. link:/blog/deprecating_rivers[Deprecating Rivers] for more background about
  9. why we took this decision.
  10. ==== Facets have been removed
  11. Facets, deprecated since 1.0, have now been removed. Instead, use the much
  12. more powerful and flexible <<search-aggregations,aggregations>> framework.
  13. This also means that Kibana 3 will not work with Elasticsearch 2.0.
  14. ==== Delete-by-query is now a plugin
  15. The old delete-by-query functionality was fast but unsafe. It could lead to
  16. document differences between the primary and replica shards, and could even
  17. produce out of memory exceptions and cause the cluster to crash.
  18. This feature has been reimplemented using the <<scroll-scan,scroll/scan>> and
  19. the <<docs-bulk,`bulk`>> API, which may be slower for queries which match
  20. large numbers of documents, but is safe.
  21. Currently, a long running delete-by-query job cannot be cancelled, which is
  22. one of the reasons that this functionality is only available as a plugin. You
  23. can install the plugin with:
  24. [source,sh]
  25. ------------------
  26. ./bin/plugin install delete-by-query
  27. ------------------
  28. ==== `_shutdown` API
  29. The `_shutdown` API has been removed without a replacement. Nodes should be
  30. managed via the operating system and the provided start/stop scripts.
  31. ==== `murmur3` is now a plugin
  32. The `murmur3` field, which indexes hashes of the field values, has been moved
  33. out of core and is available as a plugin. It can be installed as:
  34. [source,sh]
  35. ------------------
  36. ./bin/plugin install mapper-murmur3
  37. ------------------
  38. ==== `_size` is now a plugin
  39. The `_size` meta-data field, which indexes the size in bytes of the original
  40. JSON document, has been moved out of core and is available as a plugin. It
  41. can be installed as:
  42. [source,sh]
  43. ------------------
  44. ./bin/plugin install mapper-size
  45. ------------------
  46. ==== Thrift and memcached transport
  47. The thrift and memcached transport plugins are no longer supported. Instead, use
  48. either the HTTP transport (enabled by default) or the node or transport Java client.
  49. ==== Bulk UDP
  50. The bulk UDP API has been removed. Instead, use the standard
  51. <<docs-bulk,`bulk`>> API, or use UDP to send documents to Logstash first.
  52. ==== MergeScheduler pluggability
  53. The merge scheduler is no longer pluggable.