Filesearch solution using ES 5.5.0

any pointers how to retrive fields from fscrawler pipeline ??

I have barely no experience with Painless. But it's pretty well documented here: Painless Scripting Language | Elasticsearch Reference [5.5] | Elastic