removals.asciidoc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. ==== MVEL has been removed
  15. The MVEL scripting language has been removed. The default scripting language
  16. is now Groovy.
  17. ==== Delete-by-query is now a plugin
  18. The old delete-by-query functionality was fast but unsafe. It could lead to
  19. document differences between the primary and replica shards, and could even
  20. produce out of memory exceptions and cause the cluster to crash.
  21. This feature has been reimplemented using the <<search-request-scroll,scroll>> and
  22. <<docs-bulk,`bulk`>> APIs, which may be slower for queries which match
  23. large numbers of documents, but is safe.
  24. Currently, a long running delete-by-query job cannot be cancelled, which is
  25. one of the reasons that this functionality is only available as a plugin. You
  26. can install the plugin with:
  27. [source,sh]
  28. ------------------
  29. ./bin/plugin install delete-by-query
  30. ------------------
  31. See {plugins}/plugins-delete-by-query.html for more information.
  32. ==== Multicast Discovery is now a plugin
  33. Support for multicast is very patchy. Linux doesn’t allow multicast listening on localhost,
  34. while OS/X sends multicast broadcasts across all interfaces regardless of the configured
  35. bind address. On top of that, some networks have multicast disabled by default.
  36. This feature has been moved to a plugin. The default discovery mechanism now uses
  37. unicast, with a default setup which looks for the first 5 ports on localhost. If you
  38. still need to use multicast discovery, you can install the plugin with:
  39. [source,sh]
  40. ------------------
  41. ./bin/plugin install discovery-multicast
  42. ------------------
  43. See {plugins}/discovery-multicast.html for more information.
  44. ==== `_shutdown` API
  45. The `_shutdown` API has been removed without a replacement. Nodes should be
  46. managed via the operating system and the provided start/stop scripts.
  47. ==== `murmur3` is now a plugin
  48. The `murmur3` field, which indexes hashes of the field values, has been moved
  49. out of core and is available as a plugin. It can be installed as:
  50. [source,sh]
  51. ------------------
  52. ./bin/plugin install mapper-murmur3
  53. ------------------
  54. ==== `_size` is now a plugin
  55. The `_size` meta-data field, which indexes the size in bytes of the original
  56. JSON document, has been moved out of core and is available as a plugin. It
  57. can be installed as:
  58. [source,sh]
  59. ------------------
  60. ./bin/plugin install mapper-size
  61. ------------------
  62. ==== Thrift and memcached transport
  63. The thrift and memcached transport plugins are no longer supported. Instead, use
  64. either the HTTP transport (enabled by default) or the node or transport Java client.
  65. ==== Bulk UDP
  66. The bulk UDP API has been removed. Instead, use the standard
  67. <<docs-bulk,`bulk`>> API, or use UDP to send documents to Logstash first.
  68. ==== MergeScheduler pluggability
  69. The merge scheduler is no longer pluggable.