Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Room Directory Search should use Text Search on Postgres #5747

Open
reivilibre opened this issue Jul 23, 2019 · 0 comments
Open

Room Directory Search should use Text Search on Postgres #5747

reivilibre opened this issue Jul 23, 2019 · 0 comments
Labels
A-Room-Directory T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@reivilibre
Copy link
Contributor

The room directory search uses substring-in-string for search whereas text search (which will do scoring against actual English* words, and can prioritise matches in the room name vs the topic) might be a good fit here.

The user directory already uses it (even though usernames don't benefit from it as much as rooms would, since on my homeserver at least, it just seems to index the user-part and the domain-part of the user ID and the words from the display name.)

This issue should follow on from #4043.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Room-Directory T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

4 participants