element-hq / element-hq/synapse
Room directory search does not find hyphenated words
Open
A-Room-Directory
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#9303](https://github.com/matrix-org/synapse/issues/9303).
---
For example, searching for "matrix stand" in the room directory will not give me results for a room called "matrix-stand"
However, searching for either "matrix" or "stand" will get me the results (you can try this yourself by searching fosdem.org's room directory).
I suspect this is a case of postgresql treating a `-` as part of the word, but feels like this might catch some folks out.
Contributor guide
Assessment
This issue has not been assessed yet.