-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Register aliases or keywords for navigational search #76778
Comments
Pinging @elastic/kibana-core-ui (Team:Core UI) |
This feature would be very useful to APM. We'd like to register terms like "Traces", "tracing" and "distributed tracing" as aliases for APM. Am I correct in understanding that until this is built-in we can register aliases using the |
Pinging @elastic/kibana-platform (Team:Platform) |
@pgayvallet or @joshdover , can you answer @sqren 's question regarding the current state of aliases for search? |
Big +1 on this one for observability. Some examples -- searching for "application" should find "APM", searching for "monitoring" should find some of the apps under "metrics", etc.. |
As application results are computed from the public info of the registered apps (accessible via the Registering keywords for an app would be done that way: core.application.register({
id: 'myApp',
title: 'Translated title,
mount,
meta: {
keywords: ['tracing', 'distributed tracing']
}
}) I already shared my questions / concerns regarding executing the search against other fields that the app's title here: #81352 (comment). These questions are the same for this option:
I also have a strong +1 on that. #81352 is about searching app by already existing 'fields' such as its category's label. Allowing developers to manually choose keywords means the GS api does not have full control about the results displayed. There is also a question about performances here. App matching is done on the client-side, using a lev-distance algorithm. Having to compute the distance against one term, is something. Doing is against an arbitrary number of keywords might cause perf issues on the client-side (did not benchmark though) |
@TinaHeiligers as part of your PR did we add any aliases or just the capability to register them? Also, how do they play with relevance ranking? |
@alexfrancoeur I only added the capability to register them. |
@TinaHeiligers @joshdover do we have plans to communicate this capability to relevant stakeholders in a similar fashion as with deep links? |
GS was somewhat deprioritized after this work was completed and we haven't made much noise about the new capability. @alexfrancoeur @joshdover Should we open a meta issue and ping specific teams about the new capability to register keywords/aliases for their apps or add a comment to the next Kibana Contributors newsletter? If the former, are there any specific teams we should notify? |
Setting to "Close as not planned" to clearly signal that although we've added the capability we don't yet have any plugins registering such aliases. |
so sad... |
We don't have an issue for this yet, but allowing apps to register searchable 'aliases' could make sense. We could also just search the app's
id
in addition to itstitle
. If we do it, that will be in a follow-up though.Originally posted by @pgayvallet in #72331 (comment)
I share similar concerns, most from a UX perpsective. I think we want to be careful to make the search results pretty consistent between versions since users are going to build muscle memory and usage habits based on these results. So if we're going to introduce new concepts like actions or reserve keywords for specific items, we should be fairly confident that these aren't going to change significantly with each release. Fine-tuning over time is to be expected, but I don't think we want to drastically change the interactions or ordering of results on a regular basis.
All that to say that if we're going to add additional keywords for this Lens result to match on, we should be confident that this fits into the longer-term vision of how we want Global Search to respond to user input over the next few releases and that anything we match on today isn't going to be removed in the near-term.
_Originally posted in #77448 (comment)
The text was updated successfully, but these errors were encountered: