Skip to content

Commit

Permalink
Scripting: backport changes from es 1.6
Browse files Browse the repository at this point in the history
From elastic/elasticsearch#10419

We need to adapt river code from es-1.x (1.6.0)

Closes #98.
  • Loading branch information
dadoonet committed Apr 25, 2015
1 parent 6f9a7e7 commit e0bb184
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -144,7 +144,7 @@ public CouchdbRiver(RiverName riverName, RiverSettings settings, @RiverIndexName
}

script = scriptService.executable(scriptType, couchSettings.get("script").toString(),
ScriptService.ScriptType.INLINE, ScriptContext.UPDATE, Maps.<String, Object>newHashMap());
ScriptService.ScriptType.INLINE, ScriptContext.Standard.UPDATE, Maps.<String, Object>newHashMap());
} else {
script = null;
}
Expand Down

0 comments on commit e0bb184

Please sign in to comment.