|
|
@@ -34,7 +34,7 @@ The name of the aggregation (`grades_count` above) also serves as the key by whi
|
|
|
retrieved from the returned response.
|
|
|
|
|
|
==== Script
|
|
|
-added[1.1]
|
|
|
+added[1.1.0]
|
|
|
|
|
|
Counting the values generated by a script:
|
|
|
|
|
|
@@ -47,4 +47,4 @@ Counting the values generated by a script:
|
|
|
"grades_count" : { "value_count" : { "script" : "doc['grade'].value" } }
|
|
|
}
|
|
|
}
|
|
|
---------------------------------------------------
|
|
|
+--------------------------------------------------
|