For #1, if you define a native script in Java, yes the code can be shared between script_fields and script filter. It's also possible to define an MVEL script in a file that you put inside the config/scripts folder but it might be hassle to maintain if you have lots of nodes.
Other questions, Nikolas is right. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1d8df8cd-09dc-4d71-84ed-b1364e326bb0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
