Painless third party library

Is there a way i can use org.apache.commons.math4.stat.regression library inside painless, or any third party lib support available in any form.


No, it isn't possible to use any third party libraries in Painless, unless you do a change in the source code. Also, that would be a question for the Elasticsearch team.