diff --git a/docs/reference/release-notes/5.0.0-alpha1-2x.asciidoc b/docs/reference/release-notes/5.0.0-alpha1-2x.asciidoc index 9c40b8cb106..6c5e23b55f7 100644 --- a/docs/reference/release-notes/5.0.0-alpha1-2x.asciidoc +++ b/docs/reference/release-notes/5.0.0-alpha1-2x.asciidoc @@ -9,9 +9,6 @@ released for the first time in Elasticsearch 5.0.0-alpha1 are listed in [float] === Breaking changes -Allocation:: -* Speed up shard balancer by reusing shard model while moving shards that can no longer be allocated to a node {pull}16926[#16926] - Index APIs:: * Change Field stats API response to include both number and string based min and max values {pull}14674[#14674] (issue: {issue}14404[#14404]) * Add Force Merge API, deprecate Optimize API {pull}13778[#13778] @@ -36,6 +33,13 @@ Search:: * Limit the size of the result window to a dynamic property {pull}13188[#13188] (issue: {issue}9311[#9311]) +[[breaking-java-5.0.0-alpha1-2x]] +[float] +=== Breaking Java changes + +Allocation:: +* Speed up shard balancer by reusing shard model while moving shards that can no longer be allocated to a node {pull}16926[#16926] + [[feature-5.0.0-alpha1-2x]] [float] diff --git a/docs/reference/release-notes/5.0.0-alpha1.asciidoc b/docs/reference/release-notes/5.0.0-alpha1.asciidoc index 8d1db3e09a5..1793713953b 100644 --- a/docs/reference/release-notes/5.0.0-alpha1.asciidoc +++ b/docs/reference/release-notes/5.0.0-alpha1.asciidoc @@ -13,20 +13,13 @@ IMPORTANT: This is an alpha release and is intended for _testing purposes only_. [float] === Breaking changes -Aggregations:: -* getKeyAsString and key_as_string should be the same for terms aggregation on boolean field {pull}15393[#15393] - Aliases:: * make get alias expand to open and closed indices by default {pull}15954[#15954] (issue: {issue}14982[#14982]) * Remove deprecated indices.get_aliases {pull}13906[#13906] Allocation:: -* Simplify shard balancer interface {pull}17028[#17028] (issue: {issue}8954[#8954]) * Remove DisableAllocationDecider {pull}13313[#13313] -Analysis:: -* Simplify Analysis registration and configuration {pull}14355[#14355] - CAT API:: * Add raw recovery progress to cat recovery API {pull}17064[#17064] (issue: {issue}17022[#17022]) * Remove host from cat nodes API {pull}16656[#16656] (issues: {issue}12959[#12959], {issue}16575[#16575]) @@ -36,9 +29,7 @@ CRUD:: * Remove object notation for core types. {pull}15684[#15684] (issue: {issue}15388[#15388]) Cache:: -* Refactor IndicesRequestCache to make it testable. {pull}16610[#16610] * Remove deprecated query cache settings {pull}15592[#15592] -* Fold IndexCacheModule into IndexModule {pull}14293[#14293] Cluster:: * Remove memory section {pull}17278[#17278] (issues: {issue}12049[#12049], {issue}16756[#16756]) @@ -47,12 +38,8 @@ Core:: * Bootstrap does not set system properties {pull}17088[#17088] (issues: {issue}16579[#16579], {issue}16791[#16791]) * Add max number of processes check {pull}16919[#16919] * Add mlockall bootstrap check {pull}16909[#16909] -* Remove es.useLinkedTransferQueue {pull}16786[#16786] * One log {pull}16703[#16703] (issue: {issue}16585[#16585]) -Discovery:: -* Include pings from client nodes in master election {pull}17329[#17329] (issue: {issue}17325[#17325]) - Engine:: * Remove `index.compound_on_flush` setting and default to `true` {pull}15594[#15594] (issue: {issue}10778[#10778]) @@ -64,56 +51,28 @@ Index APIs:: * Remove /_optimize REST API endpoint {pull}14226[#14226] (issue: {issue}13778[#13778]) Internal:: -* Remove duplicate getters from DiscoveryNode and DiscoveryNodes {pull}17410[#17410] (issue: {issue}16963[#16963]) -* Cli: Switch to jopt-simple {pull}17024[#17024] (issue: {issue}11564[#11564]) -* Replace ContextAndHeaders with a ThreadPool based ThreadLocal implementation {pull}15776[#15776] -* Remove NodeBuilder {pull}15354[#15354] -* Fix IndexSearcherWrapper interface to not depend on the EngineConfig {pull}14654[#14654] -* Cleanup query parsing and remove IndexQueryParserService {pull}14452[#14452] -* Remove circular dependency between IndicesService and IndicesStore {pull}14285[#14285] -* Remove guice injection from IndexStore and friends {pull}14279[#14279] -* Replace IndicesLifecycle with a per-index IndexEventListener {pull}14217[#14217] (issue: {issue}13259[#13259]) -* Simplify similarity module and friends {pull}13942[#13942] -* Refactor SearchRequest to be parsed on the coordinating node {pull}13859[#13859] * Remove support for pre 2.0 indices {pull}13799[#13799] -Java API:: -* Remove the count api {pull}14166[#14166] (issue: {issue}13928[#13928]) -* IdsQueryBuilder to accept only non null ids and types {pull}13937[#13937] - Mapping:: * Change the field mapping index time boost into a query time boost. {pull}16900[#16900] * Deprecate string in favor of text/keyword. {pull}16877[#16877] * Term vector APIs should no longer update mappings {pull}16285[#16285] -* [Mapping] Several MappingService cleanups {pull}16133[#16133] (issue: {issue}15924[#15924]) * Remove the `format` option of the `_source` field. {pull}15398[#15398] * Remove transform {pull}13657[#13657] (issue: {issue}12674[#12674]) -Network:: -* Remove ability to disable Netty gathering writes {pull}16774[#16774] (issue: {issue}7811[#7811]) - Parent/Child:: * Removed `total` score mode in favour for `sum` score mode. {pull}17174[#17174] (issues: {issue}13470[#13470], {issue}17083[#17083]) -* Cleanup ParentFieldMapper {pull}16045[#16045] -* Several other parent/child cleanups {pull}13470[#13470] * Removed pre 2.x parent child implementation {pull}13376[#13376] Percolator:: * Change the percolate api to not dynamically add fields to mapping {pull}16077[#16077] (issue: {issue}15751[#15751]) Plugins:: -* Enforce isolated mode for all plugins {pull}17276[#17276] * Rename bin/plugin in bin/elasticsearch-plugin {pull}16454[#16454] -* Change the inner structure of the plugins zip {pull}16453[#16453] * Remove multicast plugin {pull}16326[#16326] (issue: {issue}16310[#16310]) * Plugins: Remove site plugins {pull}16038[#16038] -* Don't use guice for QueryParsers {pull}15761[#15761] -* Remove guice from the index level {pull}14518[#14518] -* Remove shard-level injector {pull}13881[#13881] Query DSL:: -* Remove the MissingQueryBuilder which was deprecated in 2.2.0. {pull}15364[#15364] (issue: {issue}14112[#14112]) -* Remove NotQueryBuilder {pull}14204[#14204] (issue: {issue}13761[#13761]) * Function score query: remove deprecated support for boost_factor {pull}13510[#13510] * Remove support for deprecated queries. {pull}13418[#13418] (issue: {issue}13326[#13326]) @@ -124,14 +83,9 @@ Search:: * Remove deprecated reverse option from sorting {pull}17282[#17282] (issue: {issue}17047[#17047]) * Remove some deprecations {pull}14331[#14331] * Remove search exists api {pull}13911[#13911] (issues: {issue}13682[#13682], {issue}13910[#13910]) -* Query refactoring: split parse phase into fromXContent and toQuery for all queries {pull}13788[#13788] (issue: {issue}10217[#10217]) * Remove the scan and count search types. {pull}13310[#13310] Search Refactoring:: -* Refactored inner hits parsing and intoduced InnerHitBuilder {pull}17291[#17291] -* Remove deprecated parameter from field sort builder. {pull}16573[#16573] (issue: {issue}16127[#16127]) -* Remove support for query_binary and filter_binary {pull}14433[#14433] (issue: {issue}14308[#14308]) -* Validate query api: move query parsing to the coordinating node {pull}14384[#14384] * Remove "query" query and fix related parsing bugs {pull}14304[#14304] (issue: {issue}13326[#13326]) Settings:: @@ -141,14 +95,12 @@ Settings:: * Remove support for node.client setting {pull}16963[#16963] (issue: {issue}16565[#16565]) * Remove es.max-open-files flag {pull}16757[#16757] (issues: {issue}16506[#16506], {issue}483[#483]) * Enforce node level limits if node is started in production env {pull}16733[#16733] (issue: {issue}16727[#16727]) -* Move remaining settings in NettyHttpServerTransport to the new infra {pull}16531[#16531] * Make settings validation strict {pull}16365[#16365] * Remove the ability to fsync on every operation and only schedule fsync task if really needed {pull}16257[#16257] (issue: {issue}16152[#16152]) * Script settings {pull}16197[#16197] * Remove index.flush_on_close entirely {pull}15977[#15977] * Restore chunksize of 512kb on recovery and remove configurability {pull}15235[#15235] (issue: {issue}15161[#15161]) * Remove ancient deprecated and alternative recovery settings {pull}15234[#15234] -* Replace IndexSettings annotation with a full-fledged class {pull}14251[#14251] * Fix ping timeout settings inconsistencies {pull}13701[#13701] (issue: {issue}6579[#6579]) Similarities:: @@ -162,13 +114,6 @@ Stats:: * Reintroduce five-minute and fifteen-minute load averages on Linux {pull}15907[#15907] (issues: {issue}12049[#12049], {issue}14741[#14741]) * Add system CPU percent to OS stats {pull}14741[#14741] -Store:: -* Standardize state format type for global and index level metadata {pull}17123[#17123] - -Suggesters:: -* Remove suggest threadpool {pull}17304[#17304] (issue: {issue}17198[#17198]) -* Remove suggest transport action {pull}17198[#17198] (issue: {issue}10217[#10217]) - Term Vectors:: * Remove DFS support from TermVector API {pull}16452[#16452] @@ -179,7 +124,86 @@ Translog:: Warmers:: * Remove query warmers and the warmer API. {pull}15614[#15614] (issue: {issue}15607[#15607]) +[[breaking-java-5.0.0-alpha1]] +[float] +=== Breaking Java changes +Aggregations:: +* getKeyAsString and key_as_string should be the same for terms aggregation on boolean field {pull}15393[#15393] + +Allocation:: +* Simplify shard balancer interface {pull}17028[#17028] (issue: {issue}8954[#8954]) + +Analysis:: +* Simplify Analysis registration and configuration {pull}14355[#14355] + +Cache:: +* Refactor IndicesRequestCache to make it testable. {pull}16610[#16610] +* Fold IndexCacheModule into IndexModule {pull}14293[#14293] + +Core:: +* Remove es.useLinkedTransferQueue {pull}16786[#16786] + +Discovery:: +* Include pings from client nodes in master election {pull}17329[#17329] (issue: {issue}17325[#17325]) + +Internal:: +* Remove duplicate getters from DiscoveryNode and DiscoveryNodes {pull}17410[#17410] (issue: {issue}16963[#16963]) +* Cli: Switch to jopt-simple {pull}17024[#17024] (issue: {issue}11564[#11564]) +* Replace ContextAndHeaders with a ThreadPool based ThreadLocal implementation {pull}15776[#15776] +* Remove NodeBuilder {pull}15354[#15354] +* Fix IndexSearcherWrapper interface to not depend on the EngineConfig {pull}14654[#14654] +* Cleanup query parsing and remove IndexQueryParserService {pull}14452[#14452] +* Remove circular dependency between IndicesService and IndicesStore {pull}14285[#14285] +* Remove guice injection from IndexStore and friends {pull}14279[#14279] +* Replace IndicesLifecycle with a per-index IndexEventListener {pull}14217[#14217] (issue: {issue}13259[#13259]) +* Simplify similarity module and friends {pull}13942[#13942] +* Refactor SearchRequest to be parsed on the coordinating node {pull}13859[#13859] + +Java API:: +* Remove the count api {pull}14166[#14166] (issue: {issue}13928[#13928]) +* IdsQueryBuilder to accept only non null ids and types {pull}13937[#13937] + +Mapping:: +* [Mapping] Several MappingService cleanups {pull}16133[#16133] (issue: {issue}15924[#15924]) + +Network:: +* Remove ability to disable Netty gathering writes {pull}16774[#16774] (issue: {issue}7811[#7811]) + +Parent/Child:: +* Cleanup ParentFieldMapper {pull}16045[#16045] +* Several other parent/child cleanups {pull}13470[#13470] + +Plugins:: +* Enforce isolated mode for all plugins {pull}17276[#17276] +* Change the inner structure of the plugins zip {pull}16453[#16453] +* Don't use guice for QueryParsers {pull}15761[#15761] +* Remove guice from the index level {pull}14518[#14518] +* Remove shard-level injector {pull}13881[#13881] + +Query DSL:: +* Remove the MissingQueryBuilder which was deprecated in 2.2.0. {pull}15364[#15364] (issue: {issue}14112[#14112]) +* Remove NotQueryBuilder {pull}14204[#14204] (issue: {issue}13761[#13761]) + +Search:: +* Query refactoring: split parse phase into fromXContent and toQuery for all queries {pull}13788[#13788] (issue: {issue}10217[#10217]) + +Search Refactoring:: +* Refactored inner hits parsing and intoduced InnerHitBuilder {pull}17291[#17291] +* Remove deprecated parameter from field sort builder. {pull}16573[#16573] (issue: {issue}16127[#16127]) +* Remove support for query_binary and filter_binary {pull}14433[#14433] (issue: {issue}14308[#14308]) +* Validate query api: move query parsing to the coordinating node {pull}14384[#14384] + +Settings:: +* Move remaining settings in NettyHttpServerTransport to the new infra {pull}16531[#16531] +* Replace IndexSettings annotation with a full-fledged class {pull}14251[#14251] + +Store:: +* Standardize state format type for global and index level metadata {pull}17123[#17123] + +Suggesters:: +* Remove suggest threadpool {pull}17304[#17304] (issue: {issue}17198[#17198]) +* Remove suggest transport action {pull}17198[#17198] (issue: {issue}10217[#10217]) [[deprecation-5.0.0-alpha1]] [float] diff --git a/docs/reference/release-notes/5.0.0-alpha2.asciidoc b/docs/reference/release-notes/5.0.0-alpha2.asciidoc index 812daee137c..b088abf89a4 100644 --- a/docs/reference/release-notes/5.0.0-alpha2.asciidoc +++ b/docs/reference/release-notes/5.0.0-alpha2.asciidoc @@ -31,6 +31,14 @@ REST:: Settings:: * Remove `action.get.realtime` setting {pull}17857[#17857] (issue: {issue}12543[#12543]) + + + +[[breaking java-5.0.0-alpha2]] +[float] +=== Breaking Java changes + +Settings:: * Remove Settings.settingsBuilder. {pull}17619[#17619] @@ -71,6 +79,9 @@ CAT API:: Cache:: * Allow the query cache to be disabled. {pull}16268[#16268] (issue: {issue}15802[#15802]) +Circuit Breakers:: +* Limit request size {pull}17133[#17133] (issue: {issue}16011[#16011]) + Cluster:: * Adds tombstones to cluster state for index deletions {pull}17265[#17265] (issues: {issue}16358[#16358], {issue}17435[#17435]) * Enable acked indexing {pull}17038[#17038] (issue: {issue}7572[#7572]) diff --git a/docs/reference/release-notes/5.0.0-alpha3.asciidoc b/docs/reference/release-notes/5.0.0-alpha3.asciidoc index 69802c8a4cc..411f34e46bd 100644 --- a/docs/reference/release-notes/5.0.0-alpha3.asciidoc +++ b/docs/reference/release-notes/5.0.0-alpha3.asciidoc @@ -9,15 +9,9 @@ IMPORTANT: This is an alpha release and is intended for _testing purposes only_. [float] === Breaking changes -Allocation:: -* Move parsing of allocation commands into REST and remove support for plugins to register allocation commands {pull}17802[#17802] (issue: {issue}17894[#17894]) - CAT API:: * Row-centric output for _cat/fielddata {pull}18068[#18068] (issue: {issue}10249[#10249]) -Discovery:: -* Introduce node handshake {pull}15971[#15971] (issue: {issue}9061[#9061]) - Inner Hits:: * Drop top level inner hits in favour of inner hits defined in the query dsl {pull}17816[#17816] (issue: {issue}11118[#11118]) @@ -28,10 +22,6 @@ Packaging:: * Require /bin/bash in packaging {pull}18259[#18259] (issue: {issue}18251[#18251]) * Remove plugin script parsing of system properties {pull}18207[#18207] (issue: {issue}18140[#18140]) -Percolator:: -* Move the percolator from core to its own module {pull}18511[#18511] -* Remove percolator cache {pull}18434[#18434] - Plugin Delete By Query:: * Remove Delete-By-Query plugin {pull}18516[#18516] (issue: {issue}18469[#18469]) @@ -39,19 +29,37 @@ Query DSL:: * Lessen leniency of the query dsl. {pull}18276[#18276] Scripting:: -* Remove LeafSearchScript.runAsFloat(): Nothing calls it. {pull}18364[#18364] * Allow only a single extension for a scripting engine {pull}18332[#18332] (issue: {issue}10598[#10598]) * Remove 'sandbox' option for script settings, allow only registering a single language. {pull}18226[#18226] (issues: {issue}10598[#10598], {issue}17114[#17114]) -Search:: -* Refactor of query profile classes to make way for other profile implementations {pull}18370[#18370] (issue: {issue}10538[#10538]) - Settings:: * Register `indices.query.bool.max_clause_count` setting {pull}18341[#18341] (issue: {issue}18336[#18336]) * Remove settings and system properties entanglement {pull}18198[#18198] (issue: {issue}18197[#18197]) +[[breaking java-5.0.0-alpha3]] +[float] +=== Breaking Java changes + +Allocation:: +* Move parsing of allocation commands into REST and remove support for plugins to register allocation commands {pull}17802[#17802] (issue: {issue}17894[#17894]) + +Discovery:: +* Introduce node handshake {pull}15971[#15971] (issue: {issue}9061[#9061]) + +Percolator:: +* Move the percolator from core to its own module {pull}18511[#18511] +* Remove percolator cache {pull}18434[#18434] + +Scripting:: +* Remove LeafSearchScript.runAsFloat(): Nothing calls it. {pull}18364[#18364] + +Search:: +* Refactor of query profile classes to make way for other profile implementations {pull}18370[#18370] (issue: {issue}10538[#10538]) + + + [[feature-5.0.0-alpha3]] [float] === New features @@ -241,7 +249,7 @@ Translog:: Aggregations:: * Fix TimeUnitRounding for hour, minute and second units {pull}18415[#18415] (issue: {issue}18326[#18326]) * Aggregations fix: support include/exclude strings for IP and dates {pull}18408[#18408] (issue: {issue}17705[#17705]) -* Fix xcontent rendering of ip terms aggs. {pull}18003[#18003] +* Fix xcontent rendering of ip terms aggs. {pull}18003[#18003] (issue: {issue}17971[#17971]) * Improving parsing of sigma param for Extended Stats Bucket Aggregation {pull}17562[#17562] (issue: {issue}17499[#17499]) Analysis:: diff --git a/docs/reference/release-notes/5.0.0-alpha4.asciidoc b/docs/reference/release-notes/5.0.0-alpha4.asciidoc index b85d4ae32a5..fd53c7bb17d 100644 --- a/docs/reference/release-notes/5.0.0-alpha4.asciidoc +++ b/docs/reference/release-notes/5.0.0-alpha4.asciidoc @@ -16,40 +16,19 @@ CRUD:: * Wait for changes to be visible by search {pull}17986[#17986] (issue: {issue}1063[#1063]) Core:: -* Register thread pool settings {pull}18674[#18674] (issues: {issue}18613[#18613], {issue}9216[#9216]) * Remove cluster name from data path {pull}18554[#18554] (issue: {issue}17810[#17810]) -Highlighting:: -* Register Highlighter instances instead of classes {pull}18859[#18859] - Inner Hits:: * Also do not serialize `_index` key in search response for parent/child inner hits {pull}19011[#19011] * Don't include `_id`, `_type` and `_index` keys in search response for inner hits {pull}18995[#18995] (issue: {issue}18091[#18091]) * Nested inner hits shouldn't use relative paths {pull}18567[#18567] (issue: {issue}16653[#16653]) -Internal:: -* Cleanup ClusterService dependencies and detached from Guice {pull}18941[#18941] -* Simplify SubFetchPhase interface {pull}18881[#18881] -* Simplify FetchSubPhase registration and detach it from Guice {pull}18862[#18862] - -Java API:: -* Remove setRefresh {pull}18752[#18752] (issue: {issue}1063[#1063]) - Mapping:: * Remove `_timestamp` and `_ttl` on 5.x indices. {pull}18980[#18980] (issue: {issue}18280[#18280]) Packaging:: * Remove allow running as root {pull}18694[#18694] (issue: {issue}18688[#18688]) -Plugins:: -* Fail to start if plugin tries broken onModule {pull}19025[#19025] -* Simplify ScriptModule and script registration {pull}18903[#18903] -* Cut over settings registration to a pull model {pull}18890[#18890] -* Plugins cleanup {pull}18594[#18594] (issue: {issue}18588[#18588]) - -Scripting:: -* Move search template to lang-mustache module {pull}18765[#18765] (issue: {issue}17906[#17906]) - Search:: * Remove only node preference {pull}18875[#18875] (issue: {issue}18822[#18822]) * Add search preference to prefer multiple nodes {pull}18872[#18872] (issue: {issue}18822[#18822]) @@ -62,6 +41,35 @@ Snapshot/Restore:: +[[breaking java-5.0.0-alpha4]] +[float] +=== Breaking Java changes + +Core:: +* Register thread pool settings {pull}18674[#18674] (issues: {issue}18613[#18613], {issue}9216[#9216]) + +Highlighting:: +* Register Highlighter instances instead of classes {pull}18859[#18859] + +Internal:: +* Cleanup ClusterService dependencies and detached from Guice {pull}18941[#18941] +* Simplify SubFetchPhase interface {pull}18881[#18881] +* Simplify FetchSubPhase registration and detach it from Guice {pull}18862[#18862] + +Java API:: +* Remove setRefresh {pull}18752[#18752] (issue: {issue}1063[#1063]) + +Plugins:: +* Fail to start if plugin tries broken onModule {pull}19025[#19025] +* Simplify ScriptModule and script registration {pull}18903[#18903] +* Cut over settings registration to a pull model {pull}18890[#18890] +* Plugins cleanup {pull}18594[#18594] (issue: {issue}18588[#18588]) + +Scripting:: +* Move search template to lang-mustache module {pull}18765[#18765] (issue: {issue}17906[#17906]) + + + [[feature-5.0.0-alpha4]] [float] === New features @@ -73,12 +81,12 @@ Aggregations:: Index APIs:: * Add rollover API to switch index aliases given some predicates {pull}18732[#18732] (issue: {issue}18647[#18647]) +Java REST Client:: +* Low level Rest Client {pull}18735[#18735] (issue: {issue}7743[#7743]) + Mapping:: * Expose half-floats. {pull}18887[#18887] -REST:: -* Low level Rest Client {pull}18735[#18735] (issue: {issue}7743[#7743]) - Scroll:: * Add the ability to partition a scroll in multiple slices. {pull}18237[#18237] (issue: {issue}13494[#13494])