elasticsearch/docs/reference/aggregations
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
..
bucket Fix lookup support in adjacency matrix (#59099) 2020-07-06 18:53:19 -04:00
matrix [DOCS] IDs for doc snippets (#49008) 2019-11-25 15:30:00 +01:00
metrics Missing comma between value types (#58383) 2020-06-19 23:01:25 +02:00
pipeline Pipeline Inference Aggregation (#58193) 2020-07-02 14:33:02 +01:00
bucket.asciidoc Docs: Mark variable_width_histogram experimental (#58574) 2020-06-25 16:54:37 -04:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc [DOCS] Sort metric and pipeline agg docs (#56613) 2020-05-15 16:34:47 -04:00
misc.asciidoc [DOCS] Links transforms in aggregation docs (#52563) 2020-02-21 08:22:04 +01:00
pipeline.asciidoc [DOCS] Sort metric and pipeline agg docs (#56613) 2020-05-15 16:34:47 -04:00