search.asciidoc 1.4 KB

123456789101112131415161718192021222324252627
  1. [float]
  2. [[breaking_80_search_changes]]
  3. === Search Changes
  4. [float]
  5. ==== Removal of types
  6. The `/{index}/{type}/_search`, `/{index}/{type}/_msearch`, `/{index}/{type}/_search/template` and `/{index}/{type}/_msearch/template` REST endpoints have been removed in favour of `/{index}/_search`, `/{index}/_msearch`, `/{index}/_search/template` and `/{index}/_msearch/template`, since indexes no longer contain types, these typed endpoints are obsolete..
  7. The `/{index}/{type}/_termvectors`, `/{index}/{type}/{id}/_termvectors` and `/{index}/{type}/_mtermvectors` REST endpoints have been removed in favour of `/{index}/_termvectors`, `/{index}/{id}/_termvectors` and `/{index}/_mtermvectors`, since indexes no longer contain types, these typed endpoints are obsolete..
  8. [float]
  9. ==== Removal of queries
  10. The `common` query was deprecated in 7.x and has been removed in 8.0.
  11. The same functionality can be achieved by the `match` query if the total number of hits is not tracked.
  12. [float]
  13. ===== Removal of query parameters
  14. The `cutoff_frequency` parameter was deprecated in 7.x and has been removed in 8.0 from `match` and `multi_match` queries.
  15. The same functionality can be achieved without any configuration provided that the total number of hits is not tracked.
  16. [float]
  17. ===== Removal of sort parameters
  18. The `nested_filter` and `nested_path` options, deprecated in 6.x, have been removed in favor of the `nested` context.