Add room message search for unencrypted rooms#6432
Draft
kalix127 wants to merge 5 commits intoelement-hq:developfrom
Draft
Add room message search for unencrypted rooms#6432kalix127 wants to merge 5 commits intoelement-hq:developfrom
kalix127 wants to merge 5 commits intoelement-hq:developfrom
Conversation
Contributor
|
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
|
This is probably the most essential long-awaited feature. Would be great if it gets merged. |
|
@kalix127 It might be nice to add a search UI for messages right within the chat screen, instead of navigating to a separate page. For example, you could check how Telegram does it, with options like arrow navigation or an overlay window—perhaps the overlay would be a simpler starting point if the arrows are tricky to implement |
Contributor
Author
|
Whatever, I don't see much hope for this feature in the near future |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content
Add server-side room message search for unencrypted rooms using the Matrix
/searchAPI (/_matrix/client/v3/search).The feature works for unencrypted rooms but it's not fully complete yet. Encrypted room search will require Rust SDK FFI work (exposing the
matrix-sdk-searchcrate with local Tantivy indexing) and that's planned for later. Opening this now to get early feedback and visibility since this has been one of the most requested features.What's included
features/roommessagesearch/) with standardapi/implstructure/searchendpoint, scoped to the current roomfeature.roomMessageSearch(default off, not finished)What's NOT included yet / known limitations
Motivation and context
This addresses one of the longest-standing and most requested features across the entire Element ecosystem:
Search is critical for daily use and its absence is a top reason users hesitate to migrate. Starting with unencrypted room search is the practical first step since it uses the existing Matrix server-side search API and doesn't require any SDK-level changes for local indexing.
Still waiting on
Screenshots / GIFs
Tests
Tested devices
Checklist