Commit 567db87c by Yuan Liu Committed by GitHub

bug fix

bug fix
parent 3b9ab6e2
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment