@@ -21,8 +21,8 @@ An aggregation that returns interesting or unusual occurrences of terms in a set
21
21
22
22
[WARNING]
23
23
--
24
- The significant_terms aggregation can be very heavy when run on large indices. Work is in progress
25
- to provide more lightweight sampling techniques.
24
+ The significant_terms aggregation can be very heavy when run on large indices. Work is in progress
25
+ to provide more lightweight sampling techniques.
26
26
As a result, the API for this feature may change in non-backwards compatible ways
27
27
28
28
--
37
37
.Aggregations(a => a
38
38
.SignificantTerms("significant_names", st => st
39
39
.Field(p => p.Name)
40
- .MinimumDocumentCount (10)
40
+ .MinimumDocumentCountAsLong (10)
41
41
.MutualInformation(mi => mi
42
42
.BackgroundIsSuperSet()
43
43
.IncludeNegatives()
@@ -55,7 +55,7 @@ new SearchRequest<Project>
55
55
Aggregations = new SignificantTermsAggregation("significant_names")
56
56
{
57
57
Field = Field<Project>(p => p.Name),
58
- MinimumDocumentCount = 10,
58
+ MinimumDocumentCountAsLong = 10,
59
59
MutualInformation = new MutualInformationHeuristic
60
60
{
61
61
BackgroundIsSuperSet = true,
@@ -108,7 +108,7 @@ s => s
108
108
.Aggregations(a => a
109
109
.SignificantTerms("significant_names", st => st
110
110
.Field(p => p.Name)
111
- .MinimumDocumentCount (10)
111
+ .MinimumDocumentCountAsLong (10)
112
112
.MutualInformation(mi => mi
113
113
.BackgroundIsSuperSet()
114
114
.IncludeNegatives()
@@ -127,7 +127,7 @@ new SearchRequest<Project>
127
127
Aggregations = new SignificantTermsAggregation("significant_names")
128
128
{
129
129
Field = Field<Project>(p => p.Name),
130
- MinimumDocumentCount = 10,
130
+ MinimumDocumentCountAsLong = 10,
131
131
MutualInformation = new MutualInformationHeuristic
132
132
{
133
133
BackgroundIsSuperSet = true,
@@ -182,7 +182,7 @@ s => s
182
182
.Aggregations(a => a
183
183
.SignificantTerms("significant_names", st => st
184
184
.Field(p => p.Name)
185
- .MinimumDocumentCount (10)
185
+ .MinimumDocumentCountAsLong (10)
186
186
.MutualInformation(mi => mi
187
187
.BackgroundIsSuperSet()
188
188
.IncludeNegatives()
@@ -201,7 +201,7 @@ new SearchRequest<Project>
201
201
Aggregations = new SignificantTermsAggregation("significant_names")
202
202
{
203
203
Field = Field<Project>(p => p.Name),
204
- MinimumDocumentCount = 10,
204
+ MinimumDocumentCountAsLong = 10,
205
205
MutualInformation = new MutualInformationHeuristic
206
206
{
207
207
BackgroundIsSuperSet = true,
0 commit comments