Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GS] allow type 'alias' for search syntax #83889

Open
pgayvallet opened this issue Nov 20, 2020 · 1 comment
Open

[GS] allow type 'alias' for search syntax #83889

pgayvallet opened this issue Nov 20, 2020 · 1 comment
Labels

Comments

@pgayvallet
Copy link
Contributor

In #83422, we introduced the advanced search syntax.

When filtering by type using the type:XXX syntax, we are using the SO objects technical name as term value.

For example for dashboard, you use type:dashboard.

However in some cases, the technical name of the type does not match the default label that is used in user-facing UI. For example, for canvas workpads, the name is canvas-workpad.

User would probably be searching for type:canvas or type:workpad, meaning that no result would be returned.

We should probably allow some kind of aliases when parsing the query, to convert these aliases to the actual technical name of the types.

Note that for the currently searchable types, canvas-workpad is the only one where the common label does not match the technical name.

@ryankeairns
Copy link
Contributor

Tagging the @elastic/kibana-presentation team for awareness.
Nothing for you all to do at this point, just know that filtering will be improved via aliases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants