Update aggregations_test.go

Fix conflict.
This commit is contained in:
Hardy 2021-03-15 10:42:44 +08:00 committed by GitHub
parent c2b5f62823
commit ca0cfb3224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -82,9 +82,8 @@ func TestAggregations(t *testing.T) {
}, },
"filtered": map[string]interface{}{ "filtered": map[string]interface{}{
"filter": map[string]interface{}{ "filter": map[string]interface{}{
"term": map[string]interface{} "term": map[string]interface{}{
"type": map[string]interface{}{ "type": map[string]interface{}{
"value": "t-shirt", "value": "t-shirt",
}, },
}, },
@ -93,7 +92,6 @@ func TestAggregations(t *testing.T) {
}, },
}, },
}, },
{ {
"order for termsAggs", "order for termsAggs",
//eq.Aggregate(eq.TermsAgg("a1", "FIELD1").Size(0).Aggs(eq.Sum("a2", "FIELD2.SUBFIELD"))) //eq.Aggregate(eq.TermsAgg("a1", "FIELD1").Size(0).Aggs(eq.Sum("a2", "FIELD2.SUBFIELD")))