Skip to content

Partially parse source documents to speed up source access #52591

Closed
@stu-elastic

Description

@stu-elastic

When source is accessed, it is fully parsed. If a script only uses a single field, most parsing and object construction is wasted.

We could implement a "skip parser" that does not extract values but rather keeps track of parsing context (inside string, inside map, etc) until we hit the desired field, and provide that field to the script.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions