Skip to content

Painless Scripting Skill #43

Description

@loekvangool

Folder

elasticsearch

Skill name

elasticsearch-painless

Description

Guide agent through writing and updating Painless scripts, including updating scripts to use best practices and understand Painless API, writing tests, and field API.

Elastic product scope

All things painless.

Example tasks

  1. "Update this script to use the field API where supported
  2. Write a unit test for this script
  3. Write a Painless script in _update_by_query context to update matching docs
  4. Write a Runtime Field definition to apply the same logic as is present in this _update script, but then at runtime.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions