imotov/elasticsearch-native-script-example — pull request #4 by brwe (2014-01-16 11:40:20+00:00)
Title: add terms based scoring scripts

Examples for term based script scoring in a native script.
See also
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-advanced-scripting.html

This adds scripts for

- cosime similarity
- tfidf
- language model scoring
- simple phrase scorer