I started exploring scripts in elasticsearch a few days ago and since then I couldn't find a single example on net to see how the simplest things can be done. If anyone did this before, it would be really nice if he can post them here.
Thanks in advance