RocketChat / RocketChat/Rocket.Chat

Search in messages not work if message have attachment.

Open
#36,795 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

planned
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

For exaple if add to message "3.9.7" text. And insert image from a clipboard or add attachment.
Search will no find such text.
If finds only one message but shuld find two (see screenshot).

Expected behavior:

Correc search.

Actual behavior:
Image
Server Setup Information:
  • Version of Rocket.Chat Server: 7.9.0
  • License Type: Community
  • Number of Users: 40
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported search with two messages containing “3.9.7,” one with an image or attachment, on Rocket.Chat 7.9.0. Trace the message-search entry point and identify why attached messages are excluded; done means the search returns both matching messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.