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

[admin-settings] Users: Unexpected search result #8493

Closed
hurradieweltgehtunter opened this issue Feb 23, 2023 · 5 comments · Fixed by #8508
Closed

[admin-settings] Users: Unexpected search result #8493

hurradieweltgehtunter opened this issue Feb 23, 2023 · 5 comments · Fixed by #8508
Assignees
Labels
Type:Bug Something isn't working

Comments

@hurradieweltgehtunter
Copy link
Contributor

Steps to reproduce

  1. Add user 1:
    Username: smuchatnov
    Name: "Sergej Muchatnov"
    Email: [email protected]

  2. Add user 2:
    Username: sganser
    Name: Susanne Ganser
    Email: [email protected]

  3. Search user list, type "serg"

Expected behaviour

User "Sergej Muchatnov" is the only search result.

Actual behaviour

Both users appear as search result. "Serg" is highlighted in row "Sergej Muchatnov", in row "Susanne Ganser" nothing is highlighted.

grafik

@hurradieweltgehtunter hurradieweltgehtunter added the Type:Bug Something isn't working label Feb 23, 2023
@JammingBen
Copy link
Contributor

This applies to all search fields across the platform (users, groups, spaces, space members, filters). I had a quick look into it, apparently we do this on purpose ("fuzzy search").

But I agree that the result is kinda misleading. @tbsbdr What do you think, remove the fuzziness?

@hurradieweltgehtunter
Copy link
Contributor Author

Could you explain "fuzzyness"? Why is a user displayed who hasn't the search term in any entity?

@JammingBen
Copy link
Contributor

Could you explain "fuzzyness"? Why is a user displayed who hasn't the search term in any entity?

Sure, sorry for the technical slang 😄

A fuzzy search generally does not require a 100% match between your search term and the search result. That way, a search engine can deal with type errors. E.g. you want to search for einstein, but you misspell it:einstien. A fuzzy search will still show you einstein as a result. You already know this behaviour from big search engines like Google.

The more fuzzy a search engine is, the more inaccurate it gets. That can be blessing and curse at the same time.

In this specific case I'm afraid the fuzziness brings more confusion than benefit.

@hurradieweltgehtunter
Copy link
Contributor Author

Thank you for the explanation. In this case, searching for users, fuzzyness maybe isn't appropriate and should be turned off?

@tbsbdr
Copy link

tbsbdr commented Feb 24, 2023

yes, please turn fuzzyness off for user search 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants