@@ -176,6 +176,7 @@ No params object was specified so the default params object is used:
176
176
"_agg" : {}
177
177
}
178
178
--------------------------------------------------
179
+ // NOTCONSOLE
179
180
180
181
===== After init_script
181
182
@@ -191,6 +192,7 @@ Shard A::
191
192
}
192
193
}
193
194
--------------------------------------------------
195
+ // NOTCONSOLE
194
196
195
197
Shard B::
196
198
+
@@ -202,6 +204,7 @@ Shard B::
202
204
}
203
205
}
204
206
--------------------------------------------------
207
+ // NOTCONSOLE
205
208
206
209
===== After map_script
207
210
@@ -217,6 +220,7 @@ Shard A::
217
220
}
218
221
}
219
222
--------------------------------------------------
223
+ // NOTCONSOLE
220
224
221
225
Shard B::
222
226
+
@@ -228,6 +232,7 @@ Shard B::
228
232
}
229
233
}
230
234
--------------------------------------------------
235
+ // NOTCONSOLE
231
236
232
237
===== After combine_script
233
238
@@ -248,6 +253,7 @@ The reduce_script receives an `_aggs` array containing the result of the combine
248
253
120
249
254
]
250
255
--------------------------------------------------
256
+ // NOTCONSOLE
251
257
252
258
It reduces the responses for the shards down to a final overall profit figure (by summing the values) and returns this as the result of the aggregation to
253
259
produce the response:
@@ -264,6 +270,7 @@ produce the response:
264
270
}
265
271
}
266
272
--------------------------------------------------
273
+ // NOTCONSOLE
267
274
268
275
==== Other Parameters
269
276
@@ -278,6 +285,7 @@ params:: Optional. An object whose contents will be passed as variable
278
285
"_agg" : {}
279
286
}
280
287
--------------------------------------------------
288
+ // NOTCONSOLE
281
289
282
290
==== Empty Buckets
283
291
0 commit comments