diff --git a/Aggregations/introduction-to-bucket-aggregations.md b/Aggregations/introduction-to-bucket-aggregations.md index 0eac2d4..0348173 100644 --- a/Aggregations/introduction-to-bucket-aggregations.md +++ b/Aggregations/introduction-to-bucket-aggregations.md @@ -9,7 +9,7 @@ GET /orders/_search "aggs": { "status_terms": { "terms": { - "field": "status.keyword" + "field": "status" } } } @@ -25,7 +25,7 @@ GET /orders/_search "aggs": { "status_terms": { "terms": { - "field": "status.keyword", + "field": "status", "size": 20 } } @@ -42,7 +42,7 @@ GET /orders/_search "aggs": { "status_terms": { "terms": { - "field": "status.keyword", + "field": "status", "size": 20, "missing": "N/A" } @@ -60,7 +60,7 @@ GET /orders/_search "aggs": { "status_terms": { "terms": { - "field": "status.keyword", + "field": "status", "size": 20, "missing": "N/A", "min_doc_count": 0 @@ -79,7 +79,7 @@ GET /orders/_search "aggs": { "status_terms": { "terms": { - "field": "status.keyword", + "field": "status", "size": 20, "missing": "N/A", "min_doc_count": 0,