2.0.0-beta2 Release Notesedit

Breaking changesedit

CAT API
Internal
  • Remove usage of tuple as a method parameter #13135 (issue: #10787)
Mapping
  • Rename position_offset_gap to position_increment_gap #13056 (issue: #12562)
  • Default position_offset_gap to 100 #12544 (issue: #7268)
Settings
  • Remove environment from transport client #13383 (issue: #13155)

Deprecationsedit

Geo
  • Refactor geo_point validate_* and normalize_* for 1.7 #12300
Query DSL
  • Query DSL: deprecate _name and boost in short variants of queries #12966 (issue: #11744)

Enhancementsedit

Core
  • Manual synchronization when iterating over listeners in InternalClusterInfoService #13270 (issue: #3)
Exceptions
  • Make mlockall configuration easier. #13057
Internal
Mapping
  • Refactor ignore_malformed and coerce GeoPointFieldType to Builder #13289 (issue: #13285)
Network
  • Remove broadcast address check. #13328 (issue: #13327)
  • Convert upgrade action to broadcast by node #13205 (issue: #13204)
  • Add mechanism for transporting shard-level actions by node #12944 (issue: #7990)
Plugins
  • Replace HTTP urls with HTTPS in PluginManager #12824 (issue: #12748)
REST
Settings
  • Stop o.e.c.s.Settings from leaking Guava dependency #13517 (issue: #13224)
Stats
  • Sort thread pools by name in Nodes Stats #13121
  • Expose shards data and state path via ShardStats #13118 (issue: #13106)
Warmers
  • Warmers delete _all should not throw exception when no warmers #13058 (issue: #8991)

Bug fixesedit

Aggregations
  • GeoDistance Aggregation now prints field name when it finds an unexpected token. #13033 (issue: #12391)
Allocation
  • Take relocating shard into consideration during awareness allocation #13512 (issue: #12551)
  • Take Shard data path into account in DiskThresholdDecider #13195 (issue: #13106)
  • Expand ClusterInfo to provide min / max disk usage for allocation decider #13163 (issue: #13106)
  • Take initializing shards into consideration during awareness allocation #12551 (issue: #12522)
Core
  • Engine: refresh before translog commit #13414 (issue: #13379)
  • Fix exception handling for unavailable shards in broadcast replication action #13341 (issue: #13068)
  • Call beforeIndexShardCreated listener earlier in createShard #13153
  • Detect duplicate settings keys on startup #13086 (issue: #13079)
  • Don’t check if directory is present to prevent races #13049
Engine
  • Engine: Let AlreadyClosedException and EngineClosedExceptionBubble up #13380 (issue: #13266)
Inner Hits
  • Protected against large size option #13416 (issue: #13394)
Internal
  • Add listeners for postIndex, postCreate, and postDelete #13203 (issue: #13202)
  • Make refresh a replicated action #13068 (issues: #12600, #9421)
  • Pass down the EngineConfig to IndexSearcherWrapper #12883
Mapping
  • Split the _parent field mapping’s field type into two field types #13399 (issue: #13169)
  • Fix numerous checks for equality and compatibility in mapper field types #13206 (issues: #13112, #8871)
  • Fix doc parser to still pre/post process metadata fields on disabled type #13137 (issue: #13017)
  • Fix document parsing to properly ignore entire type when disabled #13085 (issue: #13017)
  • update_all_types missing from REST spec and tests [ISSUE] #12840
Nested Docs
  • Nested query should only use bitset cache for parent filter #13087
Network
  • Improve situation when network.host is set to wildcard (e.g. 0.0.0.0) #13299 (issue: #13274)
Packaging
  • Fix service.bat start/stop issues #13398 (issues: #13247, #13401)
  • Don’t surround -Xloggc log filename with quotes #13296 (issue: #13277)
  • Add missing null check in ESPolicy. #13232
  • More portable extraction of short hostname #13109 (issue: #13107)
Plugins
  • EC2/Azure discovery plugins must declare their UnicastHostsProvider #13501 (issue: #13492)
  • Installing plugin without checksums ends up downloading from github #13197 (issue: #13196)
Query DSL
  • span_containing and span_within override default boost coming from lucene #13339 (issue: #13272)
  • simple_query_string overrides boost coming from lucene #13331 (issue: #13272)
  • Query DSL: match_phrase_prefix to take boost into account #13142 (issue: #13129)
Recovery
  • Failed to properly ack translog ops during wait on mapping changes #13535
Scripting
  • Propagate Headers and Context through to ScriptService #12982 (issue: #12891)
Search
Settings
  • Fix discovery.zen.join_timeout default value logic #13162
Shadow Replicas
  • Allow deleting closed indices with shadow replicas #13309 (issue: #13297)
Snapshot/Restore
Stats
  • Remove the network option from nodes info/stats [ISSUE] #12889

Upgradesedit

Dates
Plugin Cloud AWS
  • Update AWS SDK to 1.10.12 #13090
  • Update AWS SDK to 1.10.10 #12859