com.sksamuel.elastic4s.requests.script
Type members
Classlikes
case class Script(script: String, lang: Option[String], scriptType: ScriptType, params: Map[String, Any], options: Map[String, String], paramsRaw: Map[String, String])
A script that can be used in queries (ex: Painless scripting).
A script that can be used in queries (ex: Painless scripting).
- Value parameters:
- lang
the language of the script (defaults to Painless)
- options
the options for this script
- params
the parameters of the script which will be automatically-serialized
- paramsRaw
the parameters of the script which are already serialized
- script
the script source
- scriptType
the type of script (see ScriptType.Source)
- Companion:
- object