We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef7465 commit 226ed7aCopy full SHA for 226ed7a
docs/aggregations/bucket/histogram/histogram-aggregation-usage.asciidoc
@@ -23,7 +23,7 @@ a => a
23
.Histogram("commits", h => h
24
.Field(p => p.NumberOfCommits)
25
.Interval(100)
26
- .Missing(0)
+ .MinimumDocumentCount(1)
27
.Order(HistogramOrder.KeyDescending)
28
.Offset(1.1)
29
)
@@ -37,7 +37,7 @@ new HistogramAggregation("commits")
37
{
38
Field = Field<Project>(p => p.NumberOfCommits),
39
Interval = 100,
40
- Missing = 0,
+ MinimumDocumentCount = 1,
41
Order = HistogramOrder.KeyDescending,
42
Offset = 1.1
43
}
@@ -51,7 +51,7 @@ new HistogramAggregation("commits")
51
"histogram": {
52
"field": "numberOfCommits",
53
"interval": 100.0,
54
- "missing": 0.0,
+ "min_doc_count": 1,
55
"order": {
56
"_key": "desc"
57
},
0 commit comments