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

search filter in spring-boot-admin wallboard is missing values #3187

Closed
erikpetzold opened this issue Feb 26, 2024 · 2 comments · Fixed by #3189
Closed

search filter in spring-boot-admin wallboard is missing values #3187

erikpetzold opened this issue Feb 26, 2024 · 2 comments · Fixed by #3189
Labels

Comments

@erikpetzold
Copy link
Member

Spring Boot Admin Server information

from https://stackoverflow.com/questions/77618959/search-filter-in-spring-boot-admin-wallboard-is-missing-values

  • Version:
    3.2.1

  • Spring Boot version:
    3.2.23

  • Configured Security:
    none

Description

Having long names for services and searching for a part of the name does not find all services that should match. See linked stackoverflow problem.
Other example:
grafik
searching for "path"
grafik
should find both services

@erikpetzold
Copy link
Member Author

Search is based on https://www.fusejs.io/ fuzzy searching. In my example, searching for "contextpath" returns both services. So maybe we need some fine-tuning in the parameters

@erikpetzold
Copy link
Member Author

Current behaviour:

  • currently we have threshold at 0.25
  • the only match has a score of 0.5586

With little adjustment:

  • when setting the threshold to 0.4 I get both results
  • one has a score of 0.5586 and the other one has 0.5861
  • lower score is better match, so the longer the name, the worse the match if you search only for a small part of it
  • but I think we should have kind of a "contains" behaviour, so I would adjust the threshold to 0.4 and try to get some user feedback

@SteKoe what do you think?

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

Successfully merging a pull request may close this issue.

1 participant