Painless script library

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

Hey,

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

--Alex

1 Like

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