Script

zio.elasticsearch.script.Script
See theScript companion object
final case class Script

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def lang(value: ScriptLang): Script

Sets the language used for analyzing the field values.

Sets the language used for analyzing the field values.

Value parameters

value

the language used for analyzing the field values.

Attributes

Returns

an instance of the zio.elasticsearch.script.Script enriched with the lang parameter.

def params(values: (String, Any)*): Script

Adds additional parameters to a script field.

Adds additional parameters to a script field.

Value parameters

values

a sequence of pairs of parameter names and their values to be added to the script field

Attributes

Returns

an instance of the zio.elasticsearch.script.Script enriched with the params parameter.

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product