Skip to content

[EuiCombobox] Improve searching through combobox options by adding wildcards and fuzzy search #7661

Closed as not planned

Description

@mbondyra

This is a copy of a closed issue: #2199 that becomes really important now for Lens when we move into the inline editing and users use field picker more.

Is your feature request related to a problem? Please describe.
In many places in Kibana (Unified Search, Lens, etc) we use EuiCombobox to search through long list of items, for example in the field picker. We would like to improve searching experience by accepting small typing mistakes or swapped characters.

Describe the solution you'd like
Two functionalities we have in mind are:

  1. Allow fuzzy search by implementing levenshtein distance (here in kibana we're using fuzzy search for autocomplete for esql)
  2. Allow flexibly search by using ‘*’ or whitespaces (as an example, this is implemented for unified field list)

Considerations:

  • Performance
  • Search phrase mark - we might need to revisit how we display the searched phrase when it’s longer than the input, because it will happen more often with the wildcard/whitespaces allowance

Lens issue: elastic/kibana#179898 cc @teresaalvarezsoler

Activity

  1. cee-chen commented on Apr 15, 2024

    @cee-chen
    Contributor

    Closing in favor of #2199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions