You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our team is using mattermost with mysql storage. And we found that we cannot find users by non-first word in the field.
For example if Firstname field is 'Maria Eleni' we cannot find her by 'Eleni' query. SqlUserStore creates full text search index for all search modes.
But as i can see from the code user search in MySQL store does not use full text search index.
Steps to reproduce
Add user with two words in the firstname or lastname.
Try to find user (Ctrl+K or Ctrl+Shift+K) using the second word from the selected field.
User will not be found.
Expected behavior
User should be found.
Possible fixes
We have fixed this issue for us and if core team and community wants i can make a PR.
Also PR in mattermost-redux repo will be required to handle search results.
The text was updated successfully, but these errors were encountered:
Summary
Our team is using mattermost with mysql storage. And we found that we cannot find users by non-first word in the field.
For example if
Firstname
field is'Maria Eleni'
we cannot find her by'Eleni'
query.SqlUserStore
creates full text search index for all search modes.But as i can see from the code user search in MySQL store does not use full text search index.
Steps to reproduce
Add user with two words in the firstname or lastname.
Try to find user (Ctrl+K or Ctrl+Shift+K) using the second word from the selected field.
User will not be found.
Expected behavior
User should be found.
Possible fixes
We have fixed this issue for us and if core team and community wants i can make a PR.
Also PR in mattermost-redux repo will be required to handle search results.
The text was updated successfully, but these errors were encountered: