indices.asciidoc 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [float]
  2. [[breaking_70_indices_changes]]
  3. === Indices changes
  4. [float]
  5. ==== `:` is no longer allowed in index name
  6. Due to cross-cluster search using `:` to separate a cluster and index name,
  7. index names may no longer contain `:`.
  8. [float]
  9. ==== `index.unassigned.node_left.delayed_timeout` may no longer be negative
  10. Negative values were interpreted as zero in earlier versions but are no
  11. longer accepted.
  12. [float]
  13. ==== `_flush` and `_force_merge` will no longer refresh
  14. In previous versions issuing a `_flush` or `_force_merge` (with `flush=true`)
  15. had the undocumented side-effect of refreshing the index which made new documents
  16. visible to searches and non-realtime GET operations. From now on these operations
  17. don't have this side-effect anymore. To make documents visible an explicit `_refresh`
  18. call is needed unless the index is refreshed by the internal scheduler.
  19. [float]
  20. ==== Limit to the difference between max_size and min_size in NGramTokenFilter and NGramTokenizer
  21. To safeguard against creating too many index terms, the difference between `max_ngram` and
  22. `min_ngram` in `NGramTokenFilter` and `NGramTokenizer` has been limited to 1. This default
  23. limit can be changed with the index setting `index.max_ngram_diff`. Note that if the limit is
  24. exceeded a error is thrown only for new indices. For existing pre-7.0 indices, a deprecation
  25. warning is logged.
  26. [float]
  27. ==== Limit to the difference between max_size and min_size in ShingleTokenFilter
  28. To safeguard against creating too many tokens, the difference between `max_shingle_size` and
  29. `min_shingle_size` in `ShingleTokenFilter` has been limited to 3. This default
  30. limit can be changed with the index setting `index.max_shingle_diff`. Note that if the limit is
  31. exceeded a error is thrown only for new indices. For existing pre-7.0 indices, a deprecation
  32. warning is logged.
  33. [float]
  34. ==== Document distribution changes
  35. Indices created with version `7.0.0` onwards will have an automatic `index.number_of_routing_shards`
  36. value set. This might change how documents are distributed across shards depending on how many
  37. shards the index has. In order to maintain the exact same distribution as a pre `7.0.0` index, the
  38. `index.number_of_routing_shards` must be set to the `index.number_of_shards` at index creation time.
  39. Note: if the number of routing shards equals the number of shards `_split` operations are not supported.
  40. [float]
  41. ==== Skipped background refresh on search idle shards
  42. Shards belonging to an index that does not have an explicit
  43. `index.refresh_interval` configured will no longer refresh in the background
  44. once the shard becomes "search idle", ie the shard hasn't seen any search
  45. traffic for `index.search.idle.after` seconds (defaults to `30s`). Searches
  46. that access a search idle shard will be "parked" until the next refresh
  47. happens. Indexing requests with `wait_for_refresh` will also trigger
  48. a background refresh.
  49. [float]
  50. ==== Remove deprecated url parameters for Clear Indices Cache API
  51. The following previously deprecated url parameter have been removed:
  52. * `filter` - use `query` instead
  53. * `filter_cache` - use `query` instead
  54. * `request_cache` - use `request` instead
  55. * `field_data` - use `fielddata` instead
  56. [float]
  57. ==== `network.breaker.inflight_requests.overhead` increased to 2
  58. Previously the in flight requests circuit breaker considered only the raw byte representation.
  59. By bumping the value of `network.breaker.inflight_requests.overhead` from 1 to 2, this circuit
  60. breaker considers now also the memory overhead of representing the request as a structured object.
  61. [float]
  62. ==== Parent circuit breaker changes
  63. The parent circuit breaker defines a new setting `indices.breaker.total.use_real_memory` which is
  64. `true` by default. This means that the parent circuit breaker will trip based on currently used
  65. heap memory instead of only considering the reserved memory by child circuit breakers. When this
  66. setting is `true`, the default parent breaker limit also changes from 70% to 95% of the JVM heap size.
  67. The previous behavior can be restored by setting `indices.breaker.total.use_real_memory` to `false`.
  68. [float]
  69. ==== `fix` value for `index.shard.check_on_startup` is removed
  70. Deprecated option value `fix` for setting `index.shard.check_on_startup` is not supported.
  71. ==== `elasticsearch-translog` is removed
  72. Use the `elasticsearch-shard` tool to remove corrupted translog data.