Server Side Scripting capability support in future?

Is there plan to add server side scripting like SQL StoredProc ?
Example
if we need to do further aggregations or store or return values and do some
more mathematical calucaltions using variables. It would be great if it is
allowed on server side rather than doing it on the client side.
The percentages in pie graph is calculated on the client side in KIBANA.

Thanks,
Santosh B

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/df906328-12f0-4686-8b54-b771e2fdabcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.