elasticsearch/elasticsearch — pull request #5416 by jpountz (2014-03-13 09:08:49+00:00)
Title: Allow scripts to return more than 4 values in aggregations.

A missing call to ArrayUtil.grow prevented the array that stores the values
from growing in case the number of values returned by the script was higher
than the original size of the array.

Close #5414