Skip to content

Define the script in the @ScriptedField annotation #2035

Closed
@AntonLGVS

Description

@AntonLGVS

How about integration of the @ScriptedField annotation and the ScriptedField/RuntimeField inside query factories?
For example:

@ScriptedField(script = "doc['other'].value + 'text'")
private String field;

From my opinion, it is better to use the RuntimeField instead of the ScriptedField because it is part of the ElasticSearch library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions