RocketChat / RocketChat/Rocket.Chat
It's can't search file path.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
When I want to search for a conversation, it’s okay to find general text, but if the content of the conversation is a file path, it will not be found. I have enabled "message always search regexp", but if I don’t enable this function, I won’t be able to find keywords.
Steps to reproduce:
- Click search message
- Type I want search the file path
- It's not found.
Expected behavior:
It's should found it.
Actual behavior:



Server Setup Information:
- Version of Rocket.Chat Server: 3.7.1
- Operating System: Debian 9
- Deployment Method: tar
- Number of Running Instances: 1
- DB Replicaset Oplog: enable
- NodeJS Version: v12.16.0
- MongoDB Version: 4.0.20
Client Setup Information
- Desktop App or Browser Version: 3.0.2
- Operating System: Win10
Additional context
Relevant logs:
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
Reproduce the issue through message search using a conversation containing a file path, with and without the “message always search regexp” setting enabled. Trace the search behavior in the TypeScript code and MongoDB-backed search path; done means file paths and keywords are found without enabling the regexp setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, typescript
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100