Skip to content

[Implemented] _index available in results #2

@andrei376

Description

@andrei376

$datum['_id'] = $hit['_id'];

please also keep '_index' field in the results

i've added
$datum['_index'] = $hit['_index'];

this is useful when working with dynamic indices.

i use in search $index = '.ds-filebeat-*', but to delete a record i need to know the exact index (".ds-filebeat-8.2.0-2022.05.21-000001")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions