indices.asciidoc 4.1 KB

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