Both the documentation and code point to a field called
"value_script".It appears identical to "script" in the normal terms
facet from a builders standpoint, but I have never tried it.
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.