matrix-org / matrix-org/seshat
Search in E2EE rooms does not find words by part of a word in Element Web and Element Desktop
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 127
- Forks
- 29
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 3
Description
Steps to reproduce:
1. Open Element Web or Element Desktop.
2. Open an end-to-end encrypted room.
3. Send a message containing the word "testing".
4. Send another message containing the word "test".
5. Open search in this room and type "test".
6. Do the same in a non-encrypted room and compare results.Outcome:
#### What did you expect?
Typing part of a word, for example "test", should find messages containing both "test" and "testing". This is how search works in non-encrypted rooms.
#### What happened instead?
In encrypted rooms, search only finds the exact word "test". The message with "testing" is not found. Users have to type the complete exact word to find anything. This makes search in E2EE rooms almost useless.
Additional context:
The Element Web issue tracker redirected me here. The problem is in Seshat which handles search for E2EE rooms in both Element Web and Element Desktop.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the comparison between encrypted and non-encrypted room search described in the issue, then trace Seshat's encrypted-room search entry point. The change is complete when searching for "test" finds both the exact word and messages containing "testing", matching non-encrypted room behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100