Custom scoring support #40

merged 4 commits into from Jun 1, 2012


None yet

2 participants


Adds support for native score scripts.

@holdenk holdenk commented on an outdated diff May 30, 2012
@@ -660,23 +669,33 @@ trait ElasticSchema[M <: Record[M]] extends SlashemSchema[M] {
new AndFilterBuilder(filters:_*)
+ def scoreWithScript(query: ElasticQueryBuilder, scriptName: String,
holdenk May 30, 2012

We could generalize this a little bit and use it for both native scripts and the generated scripts. What do you think?

@holdenk holdenk merged commit 95c71e7 into master Jun 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment