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

Saved object full text search experience does not meet expectations #149313

Open
rudolf opened this issue Jan 23, 2023 · 4 comments
Open

Saved object full text search experience does not meet expectations #149313

rudolf opened this issue Jan 23, 2023 · 4 comments
Labels
Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@rudolf
Copy link
Contributor

rudolf commented Jan 23, 2023

There are several places where the Kibana UI allows users to search over their saved objects:

  1. Management
    1. Saved objects
    2. Data views
    3. Tags
    4. Cases
  2. Dashboard list
  3. Visualize library

We have received feedback from users that the search experience does not meet their expectations. There have also been several attempts to solve this each only making it incrementally better. This issue is to discuss how we might provide users with a world class search experience powered by the saved objects APIs.

I suggest the following steps to be able to make progress against this problem:

  1. Identify the combination of search query, text analyser and mappings that provide the best possible search experience on the raw Elasticsearch APIs
  2. Ensure that it's possible to use the above combination for saved object types using the server-side saved objects client.
  3. Create a guide for teams to ensure their saved object types have everything needed to power a powerful search experience and adapt the UI if/where needed.

Related issues:

@rudolf rudolf added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) labels Jan 23, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@rudolf
Copy link
Contributor Author

rudolf commented Jan 23, 2023

Saved objects currently uses the default analyser and constructs a "simple query string" query from the user's input. Both of these have limitations that limit the power we can expose to users.

@pgayvallet
Copy link
Contributor

and constructs a "simple query string" query

Probably worth mentioning that we're also supporting 'startWith' queries by detecting if the * wildcard is present at the end of the search query and then add an additional match_phrase_prefix close in addition to the SQS (see #82693)

We have received feedback from users that the search experience does not meet their expectations

First thing here would probably be to identify what those expectation are, as it's still unclear to me by just looking at the issue's description.

Looking at the linked issues, it seems like most of the problem is the inability to search parts of a token/word (basically, being able to use the * wildcard anywhere in a token) for searches.

Is that correct? Is this what we should be focusing on? Or are there other expectations that aren't met by the current search logic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

3 participants