org.elasticsearch.script
Class ScriptService.DocScoreNativeScriptFactory

java.lang.Object
  extended by org.elasticsearch.script.ScriptService.DocScoreNativeScriptFactory
All Implemented Interfaces:
NativeScriptFactory
Enclosing class:
ScriptService

public static class ScriptService.DocScoreNativeScriptFactory
extends Object
implements NativeScriptFactory


Constructor Summary
ScriptService.DocScoreNativeScriptFactory()
           
 
Method Summary
 ExecutableScript newScript(Map<String,Object> params)
          Creates a new instance of either a ExecutableScript or a SearchScript.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptService.DocScoreNativeScriptFactory

public ScriptService.DocScoreNativeScriptFactory()
Method Detail

newScript

public ExecutableScript newScript(@Nullable
                                  Map<String,Object> params)
Description copied from interface: NativeScriptFactory
Creates a new instance of either a ExecutableScript or a SearchScript.

Specified by:
newScript in interface NativeScriptFactory
Parameters:
params - The parameters passed to the script. Can be null.


Copyright © 2009-2012. All Rights Reserved.