Lang-python scripts & last value out?

I'm really excited about what lang-python and
https://github.com/imotov/elasticsearch-facet-script mean for my ability to
prototype facets in elasticsearch, but python lacks the same last-value-out
behavior that MVEL has. Is there some callable method in
PythonExecutableScript that's exposed to py scripts to specify a return
value?

--

I think you are right. I cannot think of a way to execute more than one
statement in the python script. Maybe you should create an issue for this.

On Wednesday, January 9, 2013 3:48:41 PM UTC-5, Dan Drinkard wrote:

I'm really excited about what lang-python and
GitHub - imotov/elasticsearch-facet-script: Fully Scriptable Facets for ElasticSearch mean for my ability
to prototype facets in elasticsearch, but python lacks the same
last-value-out behavior that MVEL has. Is there some callable method in
PythonExecutableScript that's exposed to py scripts to specify a return
value?

--