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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.