Re: Elasticsearch 1.3 Transform Scripts

2014-08-07 Thread amrelhagary
Hello , after several tries finally i found a solution https://gist.github.com/amrelhagary/f664c4bc239698a9b293 -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Elasticsearch-1-3-Transform-Scripts-tp4060592p4061415.html Sent from the ElasticSearch Users mailing

Re: Elasticsearch 1.3 Transform Scripts

2014-08-05 Thread amrelhagary
I have a problem i need to add dynamic fields according to certain fields value , i use groovy in simple case and it worked but the logic become more complicated and i need to separate it in external groovy script file and pass context as parameters but it didn't work and this must in mapping