mattermost/mattermost

Inconsistent search results with wildcard

Open

#27 688 ouverte le 17 juil. 2024

Voir sur GitHub
 (4 commentaires) (0 réactions) (1 assigné)TypeScript (32 880 stars) (7 823 forks)batch import
Help Wanted

Description

Summary

Depending on whether I use "phpm*", "phpmy*", or "phpmya*" I get different search results for the term phpmyadmin

Steps to reproduce

In the search bar I type the above wildcard-abbreviated search terms.

  1. Searching for phpm*, I get a total of 9 messages, e.g.,:

    • "Already updated it on phpmyadmin. I left the type as a varchar [...]"
    • "[...] Already added it on phpmyadmin and the backend already assumes its existence."
  2. Searching for phpmy*, I get no results.

  3. Searching for phpmya* I get the same results as with 1. before.

Operating System

Windows 10 x64, Mattermost Desktop App Version 5.8.1 (latest)

Mattermost Server Version

Mattermost-Version: 9.9.1 Datenbankschema-Version: 121 Build-Nummer: 9683539226 Datenbank: postgres

Expected behavior

Return all messages that contain the word phpMyAdmin for all wildcard searches.

Observed behavior

Seemingly erratic results of matching messages versus no results at all.

Log Output

n/a

Additional Information

Screenshot search term phpm* Screenshot search term phpmy*

Possible fixes

🤷‍♂️

Guide contributeur