imotov/elasticsearch-facet-script — pull request #6 by sebaes (2013-05-02 19:27:44+00:00)
Title: Support for parameter configuration in reduce step

Added support to configure also "reduce" scripts by initial parameters, as only init, map, and combine supported that before.

Reduce received only the "facets" object and not the params map, so there was no clean way to pass parameters per request.