search messages in room
Your use case
What would you like to do?
search the messages in a room
Why would you like to do it?
faster than reading all messages
How would you like to achieve it?
have a search bar in the room menu
Have you considered any alternatives?
use a different client
Additional context
No response
Are you willing to provide a PR?
No
If search on encrypted all messages are technically complicated : in that case, search index could be limited to X last days (30 days for example and this setting could be change in settings).
If search on encrypted all messages are technically complicated : in that case, search index could be limited to X last days (30 days for example and this setting could be change in settings).
Maybe search whatever messages are stored locally, then have a "load previous results" that stores more messages and searches those?
If search on encrypted all messages are technically complicated : in that case, search index could be limited to X last days (30 days for example and this setting could be change in settings).
Maybe search whatever messages are stored locally, then have a "load previous results" that stores more messages and searches those?
"Load previous results" could work if there is no performance issues. Also, to be sure the user get how the search work and appreciate it, I think we should search in all messages for a period (with no gap) and we should tell him this period ("search on the last 15 days").
"Load previous results" could work if there is no performance issues.
Is there any reason to think there would?
Also, to be sure the user get how the search work and appreciate it, I think we should search in all messages for a period (with no gap) and we should tell him this period ("search on the last 15 days").
Not sure about that, since it might complicate the UI and the devs seem to be going in the opposite direction; but I'm not against it either.
I also encountered this issue. A search function would be amazing and, I believe, quite important for many users.
How do other major messaging apps handle searching through the entire chat history?
This issue is very important for me, as I would like to search the chat history from time to time. Having this feature on the desktop element client is a good alternative, but somehow not really sufficient :/
When implementing this, CJK should be considered. Tokenising these languages is quite different because they are not space-seperated.
Related issue for iOS: https://github.com/element-hq/element-x-ios/issues/3766
Meta Issue: https://github.com/element-hq/element-meta/issues/1044 Related Meta Issue: https://github.com/element-hq/element-meta/issues/2004
Related Element Web issue: https://github.com/element-hq/element-web/issues/16483
Related issue for old Android Element: https://github.com/element-hq/element-android/issues/5268 Related issue for old iOS Element: https://github.com/element-hq/element-ios/issues/7377
Somewhat related issue for Desktop Element concerning seshat imperfections: https://github.com/element-hq/element-desktop/issues/923
Discussion about server-side search for encrypted rooms: https://github.com/element-hq/element-web/issues/4982#issuecomment-602249028