Script fields in Spark

Is it possible to create a script field when querying ES in spark?

I don't believe that we support this in ES-Hadoop at the moment. I'll open an enhancement request for it.