Skip to content

Plain highlighter's no_match trims trailing characters on short strings #15348

@nik9000

Description

@nik9000

I'm not sure if it also does it incorrectly for longer strings, but here is the reproduction:
https://discuss.elastic.co/t/highlighter-trim-a-field-why/36779

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