Skip to content

Add Support for Metadata in ElasticSearch Queries(query|suggest) #70417

@abhijeetKumarCompass

Description

@abhijeetKumarCompass

Currently, there is no field in elastic search suggest queries where I can pass metadata to queries. Adding metadata is beneficial in scenarios when query ends up in slow query logs. I can pass details of clientName and work with client to fix their query or access pattern. Further, I can use the metadata to build analytics on slow query logs for further analysis and consumption.

This feature is similar to the analytics tag in elastic app search : https://www.elastic.co/guide/en/app-search/7.8/analytics-tags-guide.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categoriesTeam:SearchMeta label for search team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions