elasticsearch/docs/reference/aggregations/bucket
Nik Everett 3b3ed4b4a7
Fix lookup support in adjacency matrix (#59099)
This request:
```
POST /_search
{
  "aggs": {
    "a": {
      "adjacency_matrix": {
        "filters": {
          "1": {
            "terms": { "t": { "index": "lookup", "id": "1", "path": "t" } }
          }
        }
      }
    }
  }
}
```

Would fail with a 500 error and a message like:
```
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_state_exception",
        "reason":"async actions are left after rewrite"
      }
    ]
  }
}
```

This fixes that by moving the query rewrite phase from a synchronous
call on the data nodes into the standard aggregation rewrite phase which
can properly handle the asynchronous actions.
2020-07-06 18:53:19 -04:00
..
adjacency-matrix-aggregation.asciidoc Fix lookup support in adjacency matrix (#59099) 2020-07-06 18:53:19 -04:00
autodatehistogram-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
children-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
composite-aggregation.asciidoc Adding transform docs for geotile_grid (#57000) 2020-06-01 15:32:18 -04:00
datehistogram-aggregation.asciidoc Update date_histogram docs (#56922) 2020-05-29 17:13:14 -04:00
daterange-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
diversified-sampler-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
filter-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
filters-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
geodistance-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
geohashgrid-aggregation.asciidoc add geo_shape documentation for supported aggregations (#58284) 2020-06-18 10:17:49 -07:00
geotilegrid-aggregation.asciidoc add geo_shape documentation for supported aggregations (#58284) 2020-06-18 10:17:49 -07:00
global-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
histogram-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
iprange-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
missing-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
nested-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
parent-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
range-aggregation.asciidoc Aggs must specify a field or script (or both) (#52226) 2020-04-23 14:26:38 -04:00
range-field-note.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
rare-terms-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
reverse-nested-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
sampler-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
significantterms-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
significanttext-aggregation.asciidoc [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
terms-aggregation.asciidoc [DOCS] Remove approximate document counts example from term agg docs (#55442) 2020-04-30 09:49:32 -04:00
variablewidthhistogram-aggregation.asciidoc Fail variable_width_histogram that collects from many (#58619) 2020-06-30 15:42:46 -04:00