mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
In order to improve the experience of cross-cluster search, we are changing the default value of the remote cluster `skip_unavailable` setting from `false` to `true`. This setting causes any cross-cluster _search (or _async_search) to entirely fail when any remote cluster with `skip_unavailable=false` is either unavailable (connection to it fails) or if the search on it fails on all shards. Setting `skip_unavailable=true` allows partial results from other clusters to be returned. In that case, the search response cluster metadata will show a `skipped` status, so the user can see that no data came in from that cluster. Kibana also now leverages this metadata in the cross-cluster search responses to allow users to see how many clusters returned data and drill down into which clusters did not (including failure messages). Currently, the user/admin has to specifically set the value to `true` in the configs, like so: ``` cluster: remote: remote1: seeds: 10.10.10.10:9300 skip_unavailable: true ``` even though that is probably what search admins want in the vast majority of cases. Setting `skip_unavailable=false` should be a conscious (and probably rare) choice by an Elasticsearch admin that a particular cluster's results are so essential to a search (or visualization in dashboard or Discover panel) that no results at all should be shown if it cannot return any results. |
||
---|---|---|
.. | ||
behavioral-analytics | ||
ccs-version-compat-matrix.asciidoc | ||
collapse-search-results.asciidoc | ||
filter-search-results.asciidoc | ||
highlighting.asciidoc | ||
knn-search.asciidoc | ||
learning-to-rank-model-training.asciidoc | ||
learning-to-rank-search-usage.asciidoc | ||
learning-to-rank.asciidoc | ||
long-running-searches.asciidoc | ||
near-real-time.asciidoc | ||
paginate-search-results.asciidoc | ||
retrieve-inner-hits.asciidoc | ||
retrieve-selected-fields.asciidoc | ||
search-across-clusters.asciidoc | ||
search-api.asciidoc | ||
search-application-api.asciidoc | ||
search-application-client.asciidoc | ||
search-application-overview.asciidoc | ||
search-application-security.asciidoc | ||
search-multiple-indices.asciidoc | ||
search-shard-routing.asciidoc | ||
search-template.asciidoc | ||
search-using-query-rules.asciidoc | ||
search-with-synonyms.asciidoc | ||
search-your-data.asciidoc | ||
semantic-search-elser.asciidoc | ||
semantic-search-inference.asciidoc | ||
semantic-search.asciidoc | ||
sort-search-results.asciidoc |