Plug-in Java or Python or Scala function to re-calculate document score?

Thanks Nik,

Is there a guide how to write a sample native script and deploy into Elasticsearch's class path, and leverage it during query?

BTW, I have another question on customized scoring, and if you could comment, it will be great,

regards,
Lin