bug fix
(cherry picked from commit 567db87c3a)
This commit is contained in:
Yuan Liu
2018-10-16 01:19:59 +02:00
committed by Marcus Efraimsson
parent ac6bd22fd4
commit 1bc344447c
+1 -1
View File
@@ -172,7 +172,7 @@ func addTermsAgg(aggBuilder es.AggBuilder, bucketAgg *BucketAgg, metrics []*Metr
a.Size = 500
}
if a.Size == 0 {
a.Size = 500
a.Size = 500
}
if minDocCount, err := bucketAgg.Settings.Get("min_doc_count").Int(); err == nil {