Skip to content

Commit

Permalink
removed .keyword designator from field value
Browse files Browse the repository at this point in the history
  • Loading branch information
FedirKhodko committed Oct 2, 2022
1 parent 048cae7 commit 1df748b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Aggregations/introduction-to-bucket-aggregations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GET /orders/_search
"aggs": {
"status_terms": {
"terms": {
"field": "status.keyword"
"field": "status"
}
}
}
Expand All @@ -25,7 +25,7 @@ GET /orders/_search
"aggs": {
"status_terms": {
"terms": {
"field": "status.keyword",
"field": "status",
"size": 20
}
}
Expand All @@ -42,7 +42,7 @@ GET /orders/_search
"aggs": {
"status_terms": {
"terms": {
"field": "status.keyword",
"field": "status",
"size": 20,
"missing": "N/A"
}
Expand All @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 1df748b

Please sign in to comment.