Struct elasticsearch_dsl::search::scripting::Script [−][src]
pub struct Script { /* fields omitted */ }
Expand description
Wherever scripting is supported in the Elasticsearch APIs, the syntax follows the same pattern; you specify the language of your script, provide the script logic (or source, and add parameters that are passed into the script.
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting-using.html
Implementations
Specifies the language the script is written in. Defaults to painless
.
The script itself, which you specify as source
for an inline script.
The script itself, which you specify as id for a stored script. Use the stored script APIs to create and manage stored scripts.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Script
impl UnwindSafe for Script
Blanket Implementations
Mutably borrows from an owned value. Read more