Painless script library

painless

(Jean Marc Autexier) #1

Hi,

I use painless scripts for upserts and some calculations on the merged documents (score...).
I currently use one large script (with functions) stored in ES, which is referenced when ingesting documents.

Is it possible to split a script into multiple scripts, and from one call functions of the other?

tx,
jmau


(Alexander Reelsen) #2

Hey,

this is currently not possible. As you already mentioned you can only mentioned single scripts, but those cannot subreference anything.

--Alex


(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.