Scripts for key field in Terms Stats facet?

Hi,
Is it possible to have a key script field (term scripts) in the Terms Stats
facet, similar to there is in Terms facet?
The documentation for Terms Stats facet says it combines terms and stats
facet. However, I can't find a way to use a term script.

My use case is I want to get stats of a numeric field against a string made
by concatenating several fields: like doc['f1'].value + ',' +
doc['f2'].value + ...

Thanks,

Jaideep Dhok

--

http://elasticsearch-users.115913.n3.nabble.com/Terms-stats-facet-on-multiple-fields-td3115086.html#a3124153

===> Seem term stats facet cannot statistics with multi field!

On Tuesday, September 25, 2012 3:41:15 PM UTC+7, jaideep dhok wrote:

Hi,
Is it possible to have a key script field (term scripts) in the Terms
Stats facet, similar to there is in Terms facet?
The documentation for Terms Stats facet says it combines terms and stats
facet. However, I can't find a way to use a term script.

My use case is I want to get stats of a numeric field against a string
made by concatenating several fields: like doc['f1'].value + ',' +
doc['f2'].value + ...

Thanks,

Jaideep Dhok

--