5.0.0-alpha2.asciidoc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. [[release-notes-5.0.0-alpha2]]
  2. == 5.0.0-alpha2 Release Notes
  3. Also see <<breaking-changes-5.0>>.
  4. IMPORTANT: This is an alpha release and is intended for _testing purposes only_. Indices created in this version will *not be compatible with Elasticsearch 5.0.0 GA*. Upgrading 5.0.0-alpha2 to any other version is not supported.
  5. [[breaking-5.0.0-alpha2]]
  6. [float]
  7. === Breaking changes
  8. Analysis::
  9. * Analyze API : Rename filters/token_filters/char_filter in Analyze API in master {pull}17843[#17843] (issue: {issue}15189[#15189])
  10. Cluster::
  11. * Remove validation errors from cluster health response {pull}17773[#17773] (issue: {issue}16979[#16979])
  12. Indexed Scripts/Templates::
  13. * Store indexed scripts in the cluster state instead of the `.scripts` index {pull}17650[#17650] (issue: {issue}16651[#16651])
  14. Packaging::
  15. * Add JVM options configuration file {pull}17675[#17675] (issue: {issue}17121[#17121])
  16. Percolator::
  17. * Remove `.percolator` type in favour of `percolator` field type {pull}17560[#17560]
  18. REST::
  19. * Remove camelCase support {pull}17933[#17933] (issue: {issue}8988[#8988])
  20. * Remove 'case' parameter from rest apis {pull}17774[#17774] (issue: {issue}8988[#8988])
  21. * Disallow unquoted field names {pull}15351[#15351] (issue: {issue}9800[#9800])
  22. Settings::
  23. * Remove `action.get.realtime` setting {pull}17857[#17857] (issue: {issue}12543[#12543])
  24. [[breaking java-5.0.0-alpha2]]
  25. [float]
  26. === Breaking Java changes
  27. Settings::
  28. * Remove Settings.settingsBuilder. {pull}17619[#17619]
  29. [[deprecation-5.0.0-alpha2]]
  30. [float]
  31. === Deprecations
  32. Query DSL::
  33. * Deprecate Indices query {pull}17710[#17710] (issue: {issue}12017[#12017])
  34. * Deprecate mlt, in and geo_bbox query name shortcuts {pull}17507[#17507]
  35. Query Refactoring::
  36. * Splits `phrase` and `phrase_prefix` in match query into `MatchPhraseQueryBuilder` and `MatchPhrasePrefixQueryBuilder` {pull}17508[#17508]
  37. [[feature-5.0.0-alpha2]]
  38. [float]
  39. === New features
  40. Analysis::
  41. * Add `fingerprint` token filter and `fingerprint` analyzer {pull}17873[#17873] (issue: {issue}13325[#13325])
  42. Plugin Analysis ICU::
  43. * Adding support for customizing the rule file in ICU tokenizer {pull}13651[#13651] (issue: {issue}13146[#13146])
  44. [[enhancement-5.0.0-alpha2]]
  45. [float]
  46. === Enhancements
  47. CAT API::
  48. * Add _cat/tasks {pull}17551[#17551]
  49. * Cat health supports ts=0 option {pull}13508[#13508] (issue: {issue}10109[#10109])
  50. Cache::
  51. * Allow the query cache to be disabled. {pull}16268[#16268] (issue: {issue}15802[#15802])
  52. Circuit Breakers::
  53. * Limit request size {pull}17133[#17133] (issue: {issue}16011[#16011])
  54. Cluster::
  55. * Adds tombstones to cluster state for index deletions {pull}17265[#17265] (issues: {issue}16358[#16358], {issue}17435[#17435])
  56. * Enable acked indexing {pull}17038[#17038] (issue: {issue}7572[#7572])
  57. Core::
  58. * Kill thread local leak {pull}17921[#17921] (issues: {issue}283[#283], {issue}630[#630])
  59. * Add heap size bootstrap check {pull}17728[#17728] (issue: {issue}17490[#17490])
  60. * Remove hostname from NetworkAddress.format {pull}17601[#17601] (issue: {issue}17604[#17604])
  61. * Bootstrapping bootstrap checks {pull}17595[#17595] (issues: {issue}17474[#17474], {issue}17570[#17570])
  62. * Add max map count check {pull}16944[#16944]
  63. Geo::
  64. * Enhanced lat/long error handling {pull}16833[#16833] (issue: {issue}16137[#16137])
  65. Index APIs::
  66. * Fail hot_threads in a better way if unsupported by JDK {pull}15909[#15909]
  67. Ingest::
  68. * Streamline option naming for several processors {pull}17892[#17892] (issue: {issue}17835[#17835])
  69. Internal::
  70. * Makes Script type writeable {pull}17908[#17908] (issue: {issue}17753[#17753])
  71. * FiltersAggregatorBuilder: Don't create new context for inner parsing {pull}17851[#17851]
  72. * Clean up serialization on some stats {pull}17832[#17832] (issue: {issue}17085[#17085])
  73. * Normalize registration for SignificanceHeuristics {pull}17830[#17830] (issue: {issue}17085[#17085])
  74. * Make (read|write)NamedWriteable public {pull}17829[#17829] (issue: {issue}17682[#17682])
  75. * Use try-with-resource when creating new parser instances where possible {pull}17822[#17822]
  76. * Don't pass XContentParser to ParseFieldRegistry#lookup {pull}17794[#17794]
  77. * Internal: Remove threadlocal from document parser {pull}17764[#17764]
  78. * Cut range aggregations to registerAggregation {pull}17757[#17757] (issue: {issue}17085[#17085])
  79. * Remove ParseFieldMatcher from AbstractXContentParser {pull}17756[#17756] (issue: {issue}17417[#17417])
  80. * Remove parser argument from methods where we already pass in a parse context {pull}17738[#17738]
  81. * Switch SearchAfterBuilder to writeGenericValue {pull}17735[#17735] (issue: {issue}17085[#17085])
  82. * Remove StreamableReader {pull}17729[#17729] (issue: {issue}17085[#17085])
  83. * Cleanup nested, has_child & has_parent query builders for inner hits construction {pull}17719[#17719] (issue: {issue}11118[#11118])
  84. * Make AllocationCommands NamedWriteables {pull}17661[#17661]
  85. * Isolate StreamableReader {pull}17656[#17656] (issue: {issue}17085[#17085])
  86. * Create registration methods for aggregations similar to those for queries {pull}17653[#17653] (issues: {issue}17085[#17085], {issue}17389[#17389])
  87. * Turn RestChannel into an interface {pull}17643[#17643] (issue: {issue}17133[#17133])
  88. * Remove PROTOTYPEs from QueryBuilders {pull}17632[#17632] (issue: {issue}17085[#17085])
  89. * Remove registerQueryParser {pull}17608[#17608]
  90. * ParseField#getAllNamesIncludedDeprecated to not return duplicate names {pull}17504[#17504]
  91. * Rework a query parser and improve registration {pull}17458[#17458]
  92. * Clean up QueryParseContext and don't hold it inside QueryRewrite/ShardContext {pull}17417[#17417]
  93. Mapping::
  94. * Automatically upgrade analyzed strings with an analyzer to `text`. {pull}17861[#17861]
  95. * Support dots in field names when mapping already exists {pull}17759[#17759] (issue: {issue}15951[#15951])
  96. * Use the new points API to index numeric fields. {pull}17746[#17746] (issues: {issue}11513[#11513], {issue}16751[#16751], {issue}17007[#17007], {issue}17700[#17700])
  97. * Simplify AllEntries, AllField and AllFieldMapper: {pull}17613[#17613]
  98. Network::
  99. * Limit request size {pull}17133[#17133] (issue: {issue}16011[#16011])
  100. Packaging::
  101. * Remove unnecessary sleep from init script restart {pull}17966[#17966]
  102. * Explicitly set packaging permissions {pull}17912[#17912] (issue: {issue}17634[#17634])
  103. * Allow configuring Windows service name, description and user {pull}17312[#17312]
  104. * rpm uses non-portable `--system` flag to `useradd` {pull}14596[#14596] (issue: {issue}14211[#14211])
  105. Percolator::
  106. * PercolatorQueryBuilder cleanup by using MemoryIndex#fromDocument(...) helper {pull}17669[#17669] (issue: {issue}9386[#9386])
  107. Plugins::
  108. * Cli: Improve output for usage errors {pull}17938[#17938]
  109. * Cli: Add verbose output with zip url when installing plugin {pull}17662[#17662] (issue: {issue}17529[#17529])
  110. Query DSL::
  111. * Add MatchNoDocsQuery, a query that matches no documents and prints the reason why in the toString method. {pull}17780[#17780]
  112. * Adds `ignore_unmapped` option to geo queries {pull}17751[#17751]
  113. * Adds `ignore_unmapped` option to nested and P/C queries {pull}17748[#17748]
  114. * SimpleQueryParser should call MappedFieldType.termQuery when appropriate. {pull}17678[#17678]
  115. REST::
  116. * Allow JSON with unquoted field names by enabling system property {pull}17801[#17801] (issue: {issue}17674[#17674])
  117. Recovery::
  118. * TransportNodesListGatewayStartedShards should fall back to disk based index metadata if not found in cluster state {pull}17663[#17663] (issue: {issue}17630[#17630])
  119. Reindex API::
  120. * Properly mark reindex's child tasks as child tasks {pull}17770[#17770]
  121. Search::
  122. * Fail query if it contains very large rescores {pull}17917[#17917] (issue: {issue}17522[#17522])
  123. Settings::
  124. * Switch to registered Settings for all IndexingMemoryController settings {pull}17778[#17778] (issue: {issue}17442[#17442])
  125. Stats::
  126. * Add points to SegmentStats. {pull}17775[#17775] (issue: {issue}16974[#16974])
  127. * Remove FieldStats.Float. {pull}17749[#17749]
  128. * Show configured and remaining delay for an unassigned shard. {pull}17515[#17515] (issue: {issue}17372[#17372])
  129. Store::
  130. * Use `mmapfs` by default. {pull}17616[#17616] (issue: {issue}16983[#16983])
  131. Suggesters::
  132. * Add bwc support for reading pre-5.0 completion index {pull}17602[#17602]
  133. Task Manager::
  134. * Move parentTaskId into TransportRequest {pull}17872[#17872]
  135. * Shorten the serialization of the empty TaskId {pull}17870[#17870]
  136. * Expose whether a task is cancellable in the _tasks list API {pull}17464[#17464] (issue: {issue}17369[#17369])
  137. [[bug-5.0.0-alpha2]]
  138. [float]
  139. === Bug fixes
  140. Aggregations::
  141. * Adds serialisation of sigma to extended_stats_bucket pipeline aggregation {pull}17703[#17703] (issue: {issue}17701[#17701])
  142. * Fixes NPE when no window is specified in moving average request {pull}17556[#17556] (issue: {issue}17516[#17516])
  143. * Fixes Filter and FiltersAggregation to work with empty query {pull}17542[#17542] (issue: {issue}17518[#17518])
  144. * ExtendedStatsAggregator should also pass sigma to emtpy aggs. {pull}17388[#17388] (issue: {issue}17362[#17362])
  145. Allocation::
  146. * Rebalancing policy shouldn't prevent hard allocation decisions {pull}17698[#17698] (issues: {issue}14057[#14057], {issue}14259[#14259])
  147. * When considering the size of shadow replica shards, set size to 0 {pull}17509[#17509] (issue: {issue}17460[#17460])
  148. Core::
  149. * Refactor UUID-generating methods out of Strings {pull}17837[#17837] (issue: {issue}17819[#17819])
  150. * Node names cleanup {pull}17723[#17723] (issue: {issue}17718[#17718])
  151. * NullPointerException from IndexingMemoryController when a version conflict happens during recovery {pull}17569[#17569]
  152. Ingest::
  153. * Ingest does not close its factories {pull}17626[#17626] (issue: {issue}17625[#17625])
  154. Internal::
  155. * Fix BulkItemResponse.Failure.toString {pull}17871[#17871]
  156. Logging::
  157. * Add missing index name to search slow log. {pull}17818[#17818] (issue: {issue}17025[#17025])
  158. Mapping::
  159. * Fix cross type mapping updates for `boolean` fields. {pull}17882[#17882] (issue: {issue}17879[#17879])
  160. * Fix dynamic check to properly handle parents {pull}17864[#17864] (issues: {issue}17644[#17644], {issue}17854[#17854])
  161. * Fix array parsing to remove its context when finished parsing {pull}17768[#17768]
  162. * Disallow fielddata loading on text fields that are not indexed. {pull}17747[#17747]
  163. * Fail if an object is added after a field with the same name. {pull}17568[#17568] (issue: {issue}17567[#17567])
  164. Packaging::
  165. * Fix exit code {pull}17082[#17082]
  166. Plugin Discovery EC2::
  167. * Fix EC2 Discovery settings {pull}17651[#17651] (issue: {issue}16602[#16602])
  168. Plugins::
  169. * Quote path to java binary {pull}17496[#17496] (issue: {issue}17495[#17495])
  170. Query DSL::
  171. * Apply the default operator on analyzed wildcard in simple_query_string builder {pull}17776[#17776]
  172. * Apply the default operator on analyzed wildcard in query_string builder: {pull}17711[#17711] (issue: {issue}2183[#2183])
  173. REST::
  174. * Fixes reading of CORS pre-flight headers and methods {pull}17523[#17523] (issue: {issue}17483[#17483])
  175. * index is a required url part for update by query {pull}17503[#17503]
  176. Reindex API::
  177. * Reindex should never report negative throttled_until {pull}17799[#17799] (issue: {issue}17783[#17783])
  178. * Reindex should gracefully handle when _source is disabled {pull}17667[#17667] (issue: {issue}17666[#17666])
  179. Settings::
  180. * convert settings for ResourceWatcherService to new infrastructure {pull}17948[#17948]
  181. Snapshot/Restore::
  182. * Fix the semantics for the BlobContainer interface {pull}17878[#17878] (issues: {issue}15579[#15579], {issue}15580[#15580])
  183. * On restore, selecting concrete indices can select wrong index {pull}17715[#17715]
  184. Task Manager::
  185. * Shard level tasks in Bulk Action lose reference to their parent tasks {pull}17743[#17743]
  186. Term Vectors::
  187. * Fix calculation of took time of term vectors request {pull}17817[#17817] (issue: {issue}12565[#12565])
  188. [[upgrade-5.0.0-alpha2]]
  189. [float]
  190. === Upgrades
  191. Core::
  192. * Upgrade to lucene 6 release {pull}17657[#17657]